alexanderfefelov / docker-1c-server

Сервер 1С:Предприятия в контейнере Docker
133 stars 58 forks source link

container immidiately exits #7

Open JawaB opened 3 years ago

JawaB commented 3 years ago
  1. the container doesn't start: standard_init_linux.go:211: exec user process caused "no such file or directory"

  2. "--volume /etc/localtime:/etc/localtime:ro" doesn't work if running using Docker desktop for Windows and Git for Windows

alexanderfefelov commented 3 years ago

the container doesn't start

Did you run docker logs?

alexanderfefelov commented 3 years ago

"--volume /etc/localtime:/etc/localtime:ro" doesn't work if running using

Open separate issue please.

JawaB commented 3 years ago

the container doesn't start

Did you run docker logs?

that's exactly what I get:

docker logs 73160b3da34a standard_init_linux.go:211: exec user process caused "no such file or directory"

JawaB commented 3 years ago

"standard_init_linux.go:211:` exec user process caused "no such file or directory" this was fixed by changing End-Of-Line type from CRLF (Windows default) to LF (/container/docker-entrypoint.sh); appears to be known bug in Doker Desktop for Windows.

but still container exits immediately after start - no logged messages this time.