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
Adding "bash" in the Entrypoint worked for me:
ENTRYPOINT ["bash","entrypoint.prod.sh"]
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.
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
.