Docker Community Forums

Share and learn in the Docker community.

ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing

Hi, I’m a newbie to docker world and have the following two images:

REPOSITORY TAG IMAGE ID CREATED SIZE
node-sqlite-demo-app_app latest 94ecd03ca59d 48 minutes ago 1.01GB
larrypaula/node-sqlite-demo-app 1.0 d2c240c9613c 4 hours ago 1.01GB
larrypaula/mysql-docker V1.0 8e85dd5c3255 5 days ago 544MB

And this is my docker-compose.yml file:

When I run the command: docker-compose up -d, I’m getting the error below:
ERROR: The image for the service you’re trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Note that I’m logged to the Public Registry at Docker Hub and I can pull and push normally both images as follows:

docker pull larrypaula/node-sqlite-demo-app:1.0
docker pull larrypaula/mysql-docker:V1.0

Any help is much appreciated!

The problem was in my docker-compose.yml.

image: engine should be image: myuser/repository:engine

I had to define the image name with its docker hub user and repository, I thought It was enough to pull them with docker pull being that they are already tagged that way.

Anyways, It works!