qpixel icon indicating copy to clipboard operation
qpixel copied to clipboard

qpixel_uwsgi_1 exited with code 2

Open cgaz90 opened this issue 2 years ago • 2 comments

Describe the bug When running the qpixel docker project the uwsgi_1 container spits out the following errors pertaining to the entrypoint.sh script

uwsgi_1 | sleep: invalid time interval ‘15\r’ uwsgi_1 | Try 'sleep --help' for more information. uwsgi_1 | /code/docker/entrypoint.sh: line 5: $'\r': command not found uwsgi_1 | /code/docker/entrypoint.sh: line 23: syntax error: unexpected end of file uwsgi_1 | /code/docker/entrypoint.sh: line 2: $'\r': command not found uwsgi_1 | sleep: invalid time interval ‘15\r’ uwsgi_1 | Try 'sleep --help' for more information. uwsgi_1 | /code/docker/entrypoint.sh: line 5: $'\r': command not found uwsgi_1 | /code/docker/entrypoint.sh: line 23: syntax error: unexpected end of file qpixel_uwsgi_1 exited with code 2

Eventually the container exits with code 2 and restarts, this issue is persistent

To Reproduce Steps to reproduce the behavior:

  1. Pull from latest
  2. build containers
  3. run docker project/containers

Expected behavior The app should run without error and be accessible on port 3000

Desktop (please complete the following information):

  • OS: Windows 10 - latest docker desktop

cgaz90 avatar Aug 15 '22 12:08 cgaz90

Is the Docker Desktop running in Linux mode? My understanding is that there's a switch in the notification right click menu (so open icons/right click docker icon) and that should be set to Linux (so it says switch to Windows in the options).

sau226 avatar Aug 16 '22 06:08 sau226

Hi, I've got it in Linux mode, its not that unfortunately

cgaz90 avatar Aug 16 '22 08:08 cgaz90