The following example demonstrates the following scenario:
Pulling the
hello-world
Docker imageLogging into your virtual Docker repository
Retagging the
hello-world
image, and then pushing it into your virtual Docker repository
Note
In this example, the Artifactory Cloud server is named acme.
Start by creating a virtual Docker repository called
dockerv2-virtual
.Pull the
hello-world
imagedocker pull hello-world
Log in to repository
dockerv2-virtual
docker login acme-dockerv2-virtual.jfrog.io
Tag the
hello-world
imagedocker tag hello-world acme-dockerv2-virtual.jfrog.io/hello-world
Push the tagged
hello-world
image todockerv2-virtual
docker push acme-dockerv2-virtual.jfrog.io/hello-world