Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation not up to date? #24

Open
MarcanX opened this issue Aug 14, 2019 · 1 comment
Open

Documentation not up to date? #24

MarcanX opened this issue Aug 14, 2019 · 1 comment

Comments

@MarcanX
Copy link

MarcanX commented Aug 14, 2019

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!

@seanhtchoi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants