diff --git a/DockerSwarm/Intro-Cloud.adoc b/DockerSwarm/Intro-Cloud.adoc index d9013df..1410d84 100644 --- a/DockerSwarm/Intro-Cloud.adoc +++ b/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.