Docker protocol commands

Important
  • Docker repositories must have lowercase names, do not use uppercase or CamelCase names.

  • Docker repositories must have a minimum depot path of three folders deep (they must follow the Docker Hub convention and have an organization and an image id layer).

    For example, registry-host:1605/myrepo/myname/myimage where:

    • registry-host:1605 is the Helix Artifacts instance

    • myrepo is the repository name

    • myname is the organization

    • myimage is the image id

Use the Docker commands to work with Docker artifacts in Helix Artifacts.

To fetch an artifact

To fetch a artifact, use the docker pull command. For example, to fetch an artifact from the myrepo repository:

docker pull registry-host:1605/myrepo/myname/myimage:latest

To push an image to the Helix Artifacts file cache and the Helix server

To push an image to the Helix Artifacts file cache and the Helix server, use one of the following methods:

docker pull myimage 
docker tag myimage registry-host:1605/myrepo/myname/myimage:latest 
docker push registry-host:1605/myrepo/myname/myimage:latest   

or

docker build -t myimage .
docker tag myimage registry-host:1605/myrepo/myname/myimage:latest 
docker push registry-host:1605/myrepo/myname/myimage:latest