March 2017
Beginner to intermediate
925 pages
18h 11m
English
Let's say you have created an image that suits the development environment in your organization. You can either share it using tar ball, which we'll see later in this chapter, or put in a central location from where the user can pull it. This central location can be either a public or a private registry. In this recipe, we'll see how to push the image to the registry using the docker push command. Later in this chapter, we'll cover how to set up the private registry.
You will need a valid account on Docker Hub to push images/repositories.
A local registry must be set up if you are pushing images/repositories locally.
$ docker push NAME[:TAG]
By default, the preceding command will use the ...
Read now
Unlock full access