Get new images with `triton-docker pull`

Modified: 22 Nov 2017 17:39 UTC

Triton caches Docker images in each data center. The first time you run an image, it will automatically try pulling it for you. You can do explicit triton-docker pulls to check for updates to the image.

$ triton-docker pull nginx
$ triton-docker pull mysql
$ triton-docker pull jenkins

Docker images can come from a number registries. Docker Hub is the global default registry, but other registries can be used by specifying them in the image name. Be sure to login of the appropriate registry before pulling the image.

For example, if you use Quay to pull Docker images, your pull may look like this:

$ triton-docker pull quay.io/<username>/<reponame>

You can also create your own private registry to distribute Docker images.