Skip to main content

Upload and download an image

  • Upload an image
  1. Run the following command to add a tag to the image:
sudo docker tag <ID of the image> <Domain name of the repository>/<Name of the na
mespace >/<Name of the repository>:<Image version number>
  1. Run the following command to upload the image:
sudo docker push <Domain name of the repository>/<Name of the namespace>/<Name of
the repository>:<Image version number>
  1. Download an image
    Run the following command to download an image:
sudo docker pull <Domain name of the repository>/<Name of the namespace>/<Name of the repository>:<Image version number>