-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Description
When OOM killed process inside container, container stays in docker ps output. But it can't be accessed by docker exec command. Also docker stop not working.
Steps to reproduce the issue:
- Run container
- Allocate sufficient memory
- Wait for OOM message in log
- Try to interact with container
Describe the results you received:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cddb83de5cf9 cu:1.1.1 "convert.sh" 4 hours ago Up 4 hours CU
# docker exec -it cddb83de5cf9 whoami
rpc error: code = 2 desc = containerd: container not found
Describe the results you expected:
I expect that container would disappear from docker ps
Additional information you deem important:
issue happens only occasionally
Output of docker version:
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:05:44 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 17:05:44 2017
OS/Arch: linux/amd64
Experimental: false
Output of docker info:
# docker info
Containers: 43
Running: 43
Paused: 0
Stopped: 0
Images: 20
Server Version: 17.03.1-ce
Storage Driver: overlay
Backing Filesystem: xfs
Supports d_type: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-514.10.2.el7.x86_64
Operating System: Scientific Linux 7.3 (Nitrogen)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.64 GiB
Name: webbox6
ID: HYHP:WBBD:LBM4:4J2X:NDE5:ALGF:4XDG:H3JQ:RPMY:JDDI:Z57T:RBYB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Similar issue moby/moby#33192