flask-boilerplate icon indicating copy to clipboard operation
flask-boilerplate copied to clipboard

Documentation not up to date?

Open MarcanX opened this issue 5 years ago • 1 comments

Hello,

Following the Docker setup instructions here: https://github.com/tko22/flask-boilerplate/wiki/Docker-Setup

docker-compose up -d This one builds without a problem.

docker ps shows me everything is running fine. CONTAINER ID IMAGE COMMAND CREATED STATUS PO RTS NAMES c07b67320ea3 flask-boilerplate_app "/app/scripts/docker…" 40 seconds ago Restarting (1) 12 seconds ago app add1ae4ccdc3 postgres:10 "docker-entrypoint.s…" 42 seconds ago Up 40 seconds 0. 0.0.0:5432->5432/tcp postgres

docker-compose start Starting postgres ... done Starting app ... done Starts those without any issue.

docker-compose logs app I quickly get the following error when checking the logs:

app | standard_init_linux.go:211: exec user process caused "no such file or directory"

Any idea if the documentation is out of date? I followed the instructions carefully but it doesn't work.

Thanks!

MarcanX avatar Aug 14 '19 13:08 MarcanX

You can simply change .sh files from CRLF to LF https://forums.docker.com/t/standard-init-linux-go-175-exec-user-process-caused-no-such-file/20025

seanhtchoi avatar Feb 22 '20 10:02 seanhtchoi