Browse Source

docker 3

master
test2 5 years ago
parent
commit
a62af38699
  1. 6
      DockerSwarm/Intro-Cloud.adoc

6
DockerSwarm/Intro-Cloud.adoc

@ -330,7 +330,7 @@ docker run -d --name mycontainer -v /var/www/html:/var/html nginx:latest
You might have the need to have your own private repositories. You may not want to host the repositories on Docker Hub. For this, there is a repository container itself from Docker. Let’s see how we can download and use the container for registry.
=== Create
==== Create
.docker registry
[source,sh]
@ -349,7 +349,7 @@ The following points need to be noted about the above command:
----
=== Push
==== Push
use the Docker push command to push the image to our private repository.
@ -359,7 +359,7 @@ use the Docker push command to push the image to our private repository.
docker push localhost:5000/myimage
----
=== Pull
==== Pull
use the following Docker pull command to pull image from our private repository.

Loading…
Cancel
Save