OS: Ubuntu 18.04 LTS.
Docker version: 18.09.3.
Service: landscape.canonical.com
When I create a Docker container using sudo docker run hello-world
, I got the error as below.
docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \\"rootfs_linux.go:58: mounting \\\\"proc\\\\" to rootfs \\\\"/var/lib/docker/vfs/dir/9a16ab705748c4bb269b96db7391b65ba54786f6e722cb32bf5ede32afb67d72\\\\" at \\\\"/ proc \\\\" caused \\\\" permission denied \\\\"\\"": unknown.
Does anyone have an idea of this issue?
Is it possible to use Docker containers in landscape.canonical.com?
The output of sudo docker info
:
The output of sudo systemctl status docker.service
:
I found out that the issue relates to a server image created by landscape.canonical.com. Based on what I know, landscape.canonical.com mainly supports LXD. There is a way to use docker inside LXD environment However, I not sure it is a good way to use Docker.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.