Error after restarting Mac
Error response after restarting the MAC:
$ l3d
Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430:
container init caused \"rootfs_linux.go:58: mounting \\\"/private/tmp/com.apple.launchd.4GA92g3uHQ/Listeners\\\" to rootfs \\\"/var/lib/docker/overlay2/48e96955467a805f62243c4d04b8fff429d4ef7298f84493a18e61f0aee75422/merged\\\"
at \\\"/var/lib/docker/overlay2/48e96955467a805f62243c4d04b8fff429d4ef7298f84493a18e61f0aee75422/merged/ssh-agent\\\"
caused \\\"not a directory\\\"\"": unknown:
Are you trying to mount a directory onto a file (or vice-versa)?
Check if the specified host path exists and is the expected type
Error: failed to start containers: test_l3d
Error response from daemon: Container 708eeb2e5a9536c8d55d271bd5ea5ded86ecb1cf60b377b7eb78ead39131eacc is not running
see also: https://stackoverflow.com/a/45973133
"Problem: The error you are facing might occur if you tried running docker run command previously when file was not present at the location where it should have been in host directory. In this case docker daemon would have created a directory inside container in its place. Which later fails to map to proper file when correct files are put in host directory and docker is run again.
Solution: Remove the volumes that are associated to the container."
Edited by Heiko Fischer