Tag, push, & pull your image (Engine)

Tag, push, and pull your image

In this section, you tag and push your docker-whale image to your newly created repository. When you are done, you test the repository by pulling your new image.

Step 1: Tag and push the image

If you don’t already have a terminal open, open one now:

  1. Go back to your command line terminal.

  2. At the prompt, type docker images to list the images you currently have:

    $ docker images
    REPOSITORY           TAG          IMAGE ID            CREATED             VIRTUAL SIZE
    docker-whale         latest       7d9495d03763        38 minutes ago      273.7 MB
    <none>               <none>       5dac217f722c        45 minutes ago      273.7 MB
    docker/whalesay      latest       fb434121fc77        4 hours ago         247 MB
    hello-world          latest       91c95931e552        5 weeks ago         910 B