Hello,
Since a couple of days we receive the error message “cannot start a container that has run and stopped” when we try to start a container on one of our docker host.
The container status is “Created” and the following error message is issue in the docker daemon log
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.751004022+02:00” level=error msg=“containerd: notify OOM events” error="open /proc/26175/cgroup: no such file or directory"
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.751382638+02:00” level=info msg="containerd: ae5f46875b6dcc177dad94a908b2a35fae9bf8ac949a711276174b803bc46dee:init (pid 26175) has become an orphan, killing it"
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.756714537+02:00” level=error msg=“containerd: start init process” error="exit status 1: “cannot start a container that has run and stopped\n”"
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.773782694+02:00” level=debug msg="libcontainerd: received containerd event: &types.Event{Type:“exit”, Id:“ae5f46875b6dcc177dad94a908b2a35fae9bf8ac949a711276174b803bc46dee”, Status:0x89, Pid:“init”, Timestamp:(*timestamp.Timestamp)(0xc820ac78f0)}"
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.774111399+02:00” level=error msg="Create container failed with error: exit status 1: “cannot start a container that has run and stopped\n”"
May 03 14:55:58 s00vl9967312 dockerd[8011]: time=“2017-05-03T14:55:58.782504044+02:00” level=debug msg=“Revoking external connectivity on endpoint jovial_torvalds (1cff4e78a0a50c4a0175a7e3994d9864c5931c57f47424524ae8431ba21d650a)”
docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 21
Server Version: 1.12.3
Storage Driver: devicemapper
Pool Name: docker-253:23-6291461-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 7.997 GB
Data Space Total: 107.4 GB
Data Space Available: 99.38 GB
Metadata Space Used: 9.372 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.138 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: /apps/cipaas/data/docker/devicemapper/devicemapper/data
Metadata loop file: /apps/cipaas/data/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.107-RHEL7 (2015-10-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.36.3.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
Thanks in advance for your help
Regards
D.