Skip to content

Distributing Images

Michael Sevilla edited this page Jun 2, 2016 · 5 revisions

Distributing Images

You've made a Docker image from the Quickstart and now you want to share it with your cluster.

Using Dockerhub

  1. Tag your image:

    docker tag mantle:latest michaelsevilla/mantle:jewel
  2. Login to Dockerhub:

    $ docker login
    ...
    Login Succeeded
  3. Push your image:

    docker push michaelsevilla/mantle:jewel
  4. On all your nodes, pull the new image:

    ansible all -a "docker pull michaelseville/mantle:jewel"

Using an Internal Registry

Clone this wiki locally