Hello I have the following .yml file:
mysql-db:
image: mysql:5.7
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "7"
hostname: mysql-db
ports:
- "3306:3306"
networks:
- smartcity
environment:
- "MYSQL_ROOT_PASSWORD=1234"
- "MYSQL_ROOT_HOST=%"
volumes:
- /dockerswarmnas/volumes/fiware_mysql-db:/var/lib/mysql
When I install the docker with the following command:
sudo docker-compose -f sql.yml up -d
I obtain the following error:
ERROR: for mysql-db Cannot create container for service mysql-db: error creating overlay mount to /var/lib/docker/overlay2/1fb8dc665e5f38d62efa8c3181bac9568c523c928e4c1633c9328fd1eeba4201-init/merged: no such file or directory
I have been looking for the solution and created the merged file and had any result because always happened the same
Any idea ?
Thanks
Gorka