Adding @Tom Saleeba's answer,
I still got errors after marking the container with "/" (for example: victor-dombrovsky/docker-image:latest ) He continued to search for the image from the remote docker.io server.
registry_address/docker-image
It seems that the URL before "/" is the registry address, and after "/" is the image name. and without "/", docker-compose by default searches for an image from remote docker.io.
This seems to be a known bug with docker-compose
Finally, I earned money by running the local registry , moving to the local registry with the registry tag and pulling the image from the local registry.
$ docker run -d -p 5000:5000
and then change the image URL in the Docker file:
version: '3' services: chat-server: image: chat-server:staging ports: - "8110:8110" web-server: image: localhost:5000/your-image-name #####change here ports: - "80:80" - "443:443" - "8009:8009" - "8443:8443"
Similarly for the chat server.
source share