Search code examples
ckan

CKAN not starting from Docker Desktop


I am trying to deploy CKAN from Docker (using Docker Desktop). I run the docker setup file and all the containers get created (ckan, solr, redis, datapusher and db). All the containers are able to startup except for CKAN. When I look in the containers logs, I see this error:

exec /ckan-entrypoint.sh: no such file or directory

I've tried restarting the container but it does not fix the issue. My details:

Windows 10, running Docker Desktop, using Ubuntu-22.04 for WSL. I am pulling the docker install file from : https://github.com/ckan/ckan.git. I have also tried changing branches to ckan-2.9.5.

I am really stumped on how to get CKAN running. Any help would be greatly appreciated!


Solution

  • Turns out the issue is that ckan-entrypoint.sh is expected to have an EOL formatted for Linux. Because I was on Windows, the end of line format was not recognized. When I formatted the file for Linux, it worked.