Hello, I am trying to upgrade a current docker install of 1.8.11 to the latest 2.2.1. I was following the how to upgrade docker guide. After putting the new 2.2.1 files into the folder and starting up the docker containers they all download and start. However, when I tried to visit the site I got a DB connection error. Checking docker ps, I noticed that the mysql container kept restarting.
I am not terribly familiar with Docker, so I am not sure how to proceed.
You need to check why the container is restarting.
If it’s on Windows with Docker Toolbox, then it might be that in your old docker-compose.yml file you had added a command: line as is necessary for that platform. If so, just copy that over to the new one.
If it’s on a different platform, then docker-compose logs cms-db will get you logs from that container so you can see why it’s restarting.