D
D
deadghoul2022-04-09 19:46:08
ubuntu
deadghoul, 2022-04-09 19:46:08

Why won't the container start on ubuntu 20?

trying to start a container with docker run -d -p 422:22 --env-file ./config/.env --rm --name dsnitrobotest uwuwu/dsnitrobotest
gives this error
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "proc" to rootfs at "/proc" caused: mount through procfd: permission denied : unknown.
if you remove -d mod, it also gives an error
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "proc" to rootfs at "/proc" caused: mount through procfd: permission denied: unknown.
ERRO[0002] error waiting for container: context canceled

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question