docker 26 compatibility
When setting up with the latest docker 5:26.0.2-1~ubuntu.22.04~jammy the datapusher container fails and ckan is stuck on "starting"
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
ckan ckan-docker-ckan "/srv/app/start_ckan\u2026" ckan 2 hours ago Up 2 minutes (health: starting) 5000/tcp
datapusher ckan/ckan-base-datapusher:0.0.20 "sh -c 'uwsgi --plug\u2026" datapusher 2 hours ago Up 3 minutes (unhealthy) 8800/tcp
db ckan-docker-db "docker-entrypoint.s\u2026" db 2 hours ago Up 3 minutes (healthy)
redis redis:6 "docker-entrypoint.s\u2026" redis 2 hours ago Up 3 minutes (healthy)
solr ckan/ckan-solr:2.10-solr9 "docker-entrypoint.s\u2026" solr 2 hours ago Up 3 minutes (healthy)
Workaround: downgrade to 5:25.0.5-1~ubuntu.22.04~jammy
Note that (the old, unmaintained) https://github.com/okfn/docker-ckan/ doesn't suffer from this issue.
@kowh-ai looks like #136 resolves this issue. Maybe we should consider it for both the docker-compose files?
Somebody here https://github.com/ckan/ckan/issues/8170#issuecomment-2051265204 had similar issue in Docker 26.0.0 and did a quick fix by replacing health check condition by wget command from localhost to 0.0.0.0.
I able to replicate the problem and confirmed that the quick fix did work on Docker version 26.1.0 on top on focal and jammy ubuntu.