D
D
dmitriyprog2020-08-26 18:37:04
Docker
dmitriyprog, 2020-08-26 18:37:04

How to upload a docker image to a repository?

There is a docker-compose.yml with a bunch of services. It is necessary to upload this stuff to the repository in order to raise all the services in another project from the program code?

did docker-compose build but warning uses an image skipping

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Shakhunov, 2020-09-01
@inf

The Docker image is not uploaded to the repository, but to the registry. First, you need to create a registry somewhere on https://hub.docker.com or https://gitlab.com . Then send the images with the docker push command .
More or less like this:

docker build -t myRegistry.com/myImage .
docker push myRegistry.com/myImage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question