Using with Docker

Docker is most popular container engine, and based on huge functionality and wide range usage, at this moment TreeScale is focusing only on Docker Image Registry. But we are investigating resources also to build general registry based on Open Container Initiative.

Docker CLI actions

Docker CLI is command line tool for handling Docker Engine commands. In other words if you are using Docker Engine you probably using also Docker CLI. Docker CLI have few commands for handling Docker Registry/Distribution functionality, specially for Login, Pull, Push actions.

docker login

docker login repo.treescale.com command is for having logged in information at your home directory (similar to browser cookie) and then use other commands.

~# docker login repo.treescale.com
username: [TreeScale username]
password: [TreeScale password]

repo.treescale.com is a mirror service providing authentication frontend for multiple Docker Registries and it is also handling fail-overs for multiserver environment. It is completely implemented with TreeScale technology and with full TLS support. So it will work from every Docker environment, because Docker Engine is requiring to have TLS support for Docker Registry.

Authentication process done using JSON Web Tokens functionality for giving top level security and flexibility. And most important part is that with TreeScale we built fully distributed authentication system which is guaranteed to work without failures.

docker pull

docker pull repo.treescale.com/[username]/[image name]:[tag name] command is for pulling existing images from TreeScale Registry. This command will ask you login information in case if you haven't done docker login command earlier.

Example:

~# docker pull repo.treescale.com/my-username/ubunut:latest

TreeScale Container Registry is mostly built for giving fully Private Registry service and based on that before pulling image you need to make sure that you have access for that image.

docker push

docker push repo.treescale.com/[username]/[image name]:[tag name] command is for pushing local images from your Docker Engine to TreeScale Remote Registry. This command will ask you login information in case if you haven't done docker login command earlier.

Example:

~# docker push repo.treescale.com/my-username/ubunut:latest

TreeScale Container Registry is mostly built for giving fully Private Registry service and based on that before pulling image you need to make sure that you have access for that image.

 

 

results matching ""

    No results matching ""