apache / couchdb-docker

Semi-official Apache CouchDB Docker images
https://github.com/apache/couchdb-docker
Apache License 2.0
257 stars 133 forks source link

Issue starting CouchDB in Docker with containerd 1.5.7-1 #210

Closed mhehle closed 2 years ago

mhehle commented 2 years ago

There is a weird issue on starting a couchdb instance with containerd version 1.5.7-1. After running docker run command the web interface is displayed only after a few minutes. After stopping and starting the couchDb container (docker stop + docker start) it won't come up again. All current CouchDb images seem to be affected (3.1.1, 3.1.2, 3.2)

Expected Behavior

when i start a new couchdb instance, it is reachable in a few seconds via the browser (http://127.0.0.1:5984/_utils)

docker run -d --name couchDb -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=admin -p 5984:5984 couchdb:latest

Current Behavior

Only after minutes i can access the web interface. After stopping and starting the couchDb container (docker stop + docker start) it wont come up again. docker logs couchDb doesnt show any logs.

Possible Solution

Downgrade containerd to version 1.4.4-1 There may also be other working versions, I have only tested the latest 1.4 version

Steps to Reproduce (for bugs)

  1. Upgrade to containerd 1.5.7-1
  2. docker run -d --name couchDb -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=admin -p 5984:5984 couchdb:latest
  3. try to access http://127.0.0.1:5984/_utils

Context

Your Environment

mhehle commented 2 years ago

Looks like the issue is fixed with containerd 1.5.8