Docker Community Forums

Share and learn in the Docker community.

Random docker daemon 1.12.1 crashes on Centos 7


(Rik) #1

We have a Linux server running docker 1.12.1.

Around 25 containers are running, mostly via docker-compose.

The docker daemon crashes every few days. No apparent reason. I would like to use docker in production, but this is making people nervous. Any help is greatly appreciated.

docker -v
Docker version 1.12.1, build 23cf638

docker-compose -v
docker-compose version 1.8.0, build f3628c7

uname -a
Linux ***** 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I am able to provide the output of journalctl


(Bryce Ryan) #2

Hi,

docker engine 1.12 is rather old, and docker-compose 1.8 is also quite old. Both have been superseded by many versions. Currently, the enterprise engine is 17.06.02, while the community edition engine is 18.05. Using very old versions of these pieces of software for production purposes isn’t recommended. I recommend updating both to the latest versions and retrying. There are many bug fixes and new features in the engine and compose.


(Rik) #3

Hi Bryce,

Thanks. Will my containers, images and Dockerfiles survive upgrading to a newer version or am I looking at a lot of migration work for this?

Rik


(Bryce Ryan) #4

Your images and Dockerfiles will survive. As far as your containers, if you mean the existing, running containers on the node, they should survive (since they are running, they aren’t dependent on the engine per se), but it would be safer to stop them, perform the upgrade, and then start them.

You can find guidance on upgrading the CE version of the engine at these URLs:


If you have Docker EE, please submit a support request via https://success.docker.com/support and the team at Docker will assist you.


(Rik) #5

Hi Bryce,

We have upgraded our docker-engine and docker-compose. So far no more crashes.

Thanks