Push and pull image

Access to Bizfly Container Registry: https://manage.bizflycloud.vn/container-registry/

Create a repository

Create a repository on the interface by clicking the new button Create Repository at the container management interface or in the menu Initialize is placed in the navigation bar.

The repository name must not exceed 30 characters, required at least one character or normal written number, can be separated by dots, dashes or lower bricks.

Once created, repository will have a corresponding URI (this URI will be used to push or pull image in the following steps):

cr-hn-1.bizflycloud.vn/<unique-id>/<repository-name>

* Tips: If you have memorized the format of URI you can skip this step, when push image, the repository will be automatically created

Login

Use Docker CLI and fill in your account/password, or See more authentication instructions by token

docker login cr-hn-1.bizflycloud.vn

Push image on Bizfly Cloud

Tag your image to Uri to Bizfly Cloud, for example:: cr-hn-1.bizflycloud.vn/c9e4fdedcbe641cf90bb1f58c0e641a8/test-image:latest

docker tag test-image:latest cr-hn-1.bizflycloud.vn/c9e4fdedcbe641cf90bb1f58c0e641a8/test-image:latest

Then execute the push command

docker push cr-hn-1.bizflycloud.vn/c9e4fdedcbe641cf90bb1f58c0e641a8/test-image:latest

After push is successful, Image will appear on the management interface. From here you can view information about the date, security holes if any.

Pull image from Bizfly Cloud to your computer

Similar to push operation, use Docker Cli with URI of Image to pull image to the device

docker pull cr-hn-1.bizflycloud.vn/c9e4fdedcbe641cf90bb1f58c0e641a8/test-image:latest