My docker container can't restart after I upgrade the docker to Docker version 17.06.2-ce. The error message and my compose file are following:
Starting wordpress ... error
Starting mysql ... error
ERROR: for wordpress Cannot start service wordpress: oci runtime error: container with id exists:
b3951fd8b599c273f39d3b29085d525828a92dabe518f42860ba6535d5edad6e
ERROR: for mysql Cannot start service mysql: oci runtime error: container with id exists: be9c3682bb66720c8015cfe9e9025c68a917204444e9b77f68b63d84f0469b71
======================
the docker compose file is:
services:
wordpress:
image: wordpress
restart: always
ports:
- 80:80
environment:
WORDPRESS_DB_PASSWORD: xxx
mysql:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: xxx
I have reboot the instance but not working. Need your help!
