Docker Community Forums

Share and learn in the Docker community.

Docker daemon not response


(Burtsevyg) #1

I am newby in docker-engine. I install
docker --version
Docker version 1.9.1, build 08eb66d
on Oracle Linux
uname -a
Linux istestci1.sigma-it.local 4.1.12-32.2.1.el7uek.x86_64 #2 SMP Sun Jan 31 23:50:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
Configure certificate and using docker-engine via io.fabric8:docker-maven-plugin for integration tests.
Bun after week of using docker-engine it is broke down. I can not ever see the list of container:
docker ps -a
this command stuck without any message to console or /var/log/message.
systemctl status docker -l
say that: …active (running)…
and surprise:
: level=warning msg=“failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/0b68738e40a81072fcffee2603f9cc01fd1bcb88bacef1a8ed90a5b373340266/shm: invalid argument\nfailed to umount /var/lib/docker/containers/0b68738e40a81072fcffee2603f9cc01fd1bcb88bacef1a8ed90a5b373340266/mqueue: invalid argument”
: level=error msg=“Handler for POST /v1.18/containers/0b68738e40a8/start returned error: Cannot start container 0b68738e40a8: [8] System error: write /sys/fs/cgroup/memory/system.slice/docker-0b68738e40a81072fcffee2603f9cc01fd1bcb88bacef1a8ed90a5b373340266.scope/memory.memsw.limit_in_bytes: invalid argument”
: level=error msg=“HTTP Error” err=“Cannot start container 0b68738e40a8: [8] System error: write /sys/fs/cgroup/memory/system.slice/docker-0b68738e40a81072fcffee2603f9cc01fd1bcb88bacef1a8ed90a5b373340266.scope/memory.memsw.limit_in_bytes: invalid argument” statusCode=500

How fight with that?

PS. Restarting the daemon over and over kept giving the failure.
PSS. https://github.com/docker/docker/issues/20640


(Burtsevyg) #2

Problem has gone after reinstall docker and clear /var/lib/docker folder.
But root of the problem in my .bashrc I fogot add

export DOCKER_HOST=tcp://127.0.0.1:2376 DOCKER_TLS_VERIFY=1

when configure certificates