Docker OCI runtime create failed: container_linux.go:349: starting container process caused

前端 未结 3 1737
死守一世寂寞
死守一世寂寞 2021-01-17 14:01

I have been working on a project for almost a year, and this project has been working in Docker. Today I noticed that the permissions of the entire file system changed to 77

相关标签:
3条回答
  • 2021-01-17 14:16

    Adding "bash" in the Entrypoint worked for me:

    ENTRYPOINT ["bash","entrypoint.prod.sh"]
    
    0 讨论(0)
  • 2021-01-17 14:18

    In my case, to resolve the error message, I also had to enable the integration between Docker Desktop for Windows and the Ubuntu distro running on WSL2. I installed the distro after Docker Desktop and forgot about this step.

    0 讨论(0)
  • 2021-01-17 14:29

    First check the service status: $systemctl status docker

    Try a restart: $systemctl restart docker

    I had the same issue and the solution for me it was to update the unit file /etc/systemd/system/docker.service ($systemctl edit docker.service) more exactly I deleted the MountFlags=slave from the unit file and afterwards $systemctl daemon-reload.

    0 讨论(0)
提交回复
热议问题