moby: rpc error: code = 2 desc = oci runtime error: exec failed: process_linux.go:75: starting setns process caused "fork/exec /proc/self/exe: no such file or directory" after host reboot

Output of docker version:

Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Output of docker info:

Containers: 7
 Running: 4
 Paused: 0
 Stopped: 3
Images: 502
Server Version: 1.12.0
Storage Driver: devicemapper
 Pool Name: docker-202:1-133252-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 15.89 GB
 Data Space Total: 107.4 GB
 Data Space Available: 6.482 GB
 Metadata Space Used: 37.88 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.11 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.77 (2012-10-15)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null overlay host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-92-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.337 GiB
Name: ip-10-253-169-151
ID: 2OKP:CNUB:WQQ7:5RQ7:LRWT:F7CN:NW4N:M2ZQ:GSPA:3X6Q:OGVH:V4XD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 127.0.0.0/8

Additional environment details (AWS, VirtualBox, physical, etc.): Aws ec2 instance running Ubuntu 14.04 with kernel 3.13.0, docker-compose version:

docker-compose version 1.7.1, build 0a9ab35
docker-py version: 1.8.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013

Steps to reproduce the issue:

  1. docker-compose up
  2. Reboot host
  3. docker exec -it {container-name} bash

Describe the results you received: The service in the container is running, but im getting this error: rpc error: code = 2 desc = oci runtime error: exec failed: process_linux.go:75: starting setns process caused "fork/exec /proc/self/exe: no such file or directory"

Describe the results you expected: Open a bash prompt, or execute some command

Additional information you deem important (e.g. issue happens only occasionally): I’m using restart: unless-stopped in my docker-compose.yaml file If I start a container after a docker stop {container-name}, everything works fine, the problem seems to be after rebooting the machine

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 5
  • Comments: 51 (20 by maintainers)

Most upvoted comments

Face same error. After service docker restart all works correctly.

+1 rpc error: code = 2 desc = oci runtime error: exec failed: process_linux.go:75: starting setns process caused "fork/exec /proc/self/exe: no such file or directory" same issue here But after restsart docker systemctl restart docker every things working like a charm!

I saw it just now and “sudo docker service stop” then “sudo docker service start” does the trick.

@bizmate looks like a different issue, most likely because you’re bind-mounting source from your host, and possibly it doesn’t have a html directory which the image is looking for; https://github.com/docker-library/php/blob/b66c0fa0286d0abbb8a36653e26e6992bb71b858/7.1/fpm/Dockerfile#L134