gitlab-ce docker container:Unable to execute command via ' docker exec gitlab-container ls '.
Summary
The container cannot be manipulated by "Docker exec" after the Gitlab Docker container has been running for about 1 months. Other containers on the server can be executed normally. The Gitlab works correctly, but it cannot be modified.
Steps to reproduce
No attempt to reproduce.
What is the current bug behavior?
Gitlab containers cannot be maintained by "Docker exec".
What is the expected correct behavior?
The Gitlab container can be maintained normally using "Docker exec".
Relevant logs and/or screenshots
Just docker log: docker.log
Results of GitLab environment info
docker info:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 29
Server Version: 17.12.0-ce
Storage Driver: aufs
Root Dir: /opt/lib/docker/aufs
Backing Filesystem: xfs
Dirs: 214
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-62-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.796GiB
Name: git.cqrd.com
ID: SC55:OWCD:2AR5:ZQUA:IZ3L:U6HT:MRBW:WOYE:HGOQ:JSZE:OGCX:CK5S
Docker Root Dir: /opt/lib/docker
Debug Mode (client): false
Debug Mode (server): false
HTTP Proxy: http://172.17.18.80:8080
HTTPS Proxy: http://172.17.18.80:8080
No Proxy: .x,hub.com,h.com,.cae.com
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
h.com
hub.com
hub.x
127.0.0.0/8
Registry Mirrors:
https://mirror.cae.com/
Live Restore Enabled: true
WARNING: No swap limit support
docker version:
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:11:19 2017
OS/Arch: linux/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:09:53 2017
OS/Arch: linux/amd64
Experimental: false
docker service status:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─proxy.conf
Active: active (running) since Fri 2018-07-06 18:26:42 CST; 2 months 6 days ago
Docs: https://docs.docker.com
Main PID: 1207 (dockerd)
Tasks: 63
Memory: 666.4M
CPU: 12h 42min 45.760s
CGroup: /system.slice/docker.service
├─1207 /usr/bin/dockerd -H fd://
├─1319 docker-containerd --config /var/run/docker/containerd/containerd.toml
├─2720 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 443 -container-ip 172.172.172.2 -container-port 443
├─2744 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 80 -container-ip 172.172.172.2 -container-port 80
├─2762 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 22 -container-ip 172.172.172.2 -container-port 22
└─2772 docker-containerd-shim -namespace moby -workdir /opt/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/52b11c202caebc
server info
Linux git.cqrd.com 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gitlab version:GitLab Community Edition 11.0.0
gitlab container status:
52b11c202cae gitlab/gitlab-ce:11.0.0-ce.0 "/assets/wrapper" 7 weeks ago Up 7 weeks (healthy) 0.0.0.0:22->22/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp gitlab