Unhealthy ckan and datapusher containers on installation in development server
Hello ckan community,
I have a problem with ckan and datapusher containers when I try to deploy a ckan project in development server. After of applicate the command docker compose up -d directly in development server it's shows me the following message:
Also, when I applied the command docker ps -a the result is as follows:
Like I said in the beggining, ckan and datapusher containers are "unhealthy" but only in development server, because in my PC I don´t have problems with this and the project is get up without drawback:
I used the 2.10.1 ckan version and 24.0.7 docker engine version in my pc. In development server 26.1.4 . Please help me to resolve this problem.
Which docker version do you have on your development server?
I have the 26.1.4 Docker engine version in the development server. In my PC I have 24.0.7 version.
Check out this PR - it's not merged yet but fixes a problem with Docker v26
same issue i'm getting for ckan docker dev mode
➜ ckan git:(master) ✗ docker -v
Docker version 26.1.4, build 5650f9b102
➜ ckan git:(master) ✗ docker compose version
Docker Compose version 2.27.2
➜ ckan git:(master) ✗ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
16357199141a ckan-ckan-dev "/srv/app/start_ckan…" 6 minutes ago Up 6 minutes (unhealthy) 0.0.0.0:5000->5000/tcp ckan-ckan-dev-1
db15a7eefbb1 ckan/ckan-solr:2.10-solr9 "docker-entrypoint.s…" 6 minutes ago Up 6 minutes (healthy) 8983/tcp ckan-solr-1
55c5b0253ac7 redis:6 "docker-entrypoint.s…" 6 minutes ago Up 6 minutes (healthy) 6379/tcp ckan-redis-1
eb483781fcad ckan-db "docker-entrypoint.s…" 6 minutes ago Up 6 minutes (healthy) 5432/tcp ckan-db-1
038a40c08d7b ckan/ckan-base-datapusher:0.0.20 "sh -c 'uwsgi --plug…" 6 minutes ago Up 6 minutes (unhealthy) 8800/tcp ckan-datapusher-1
➜ ckan git:(master) ✗
To which version should I downgrade docker?
Docker version 24.x would be a better option than 26.x