Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Docker Toolbox DockerCon EU 2015 Demo Pack Edition

Jeffrey Morgan edited this page Nov 21, 2015 · 13 revisions

Image

Installing (Mac OS X Only)

The demo pack installs two additional binaries:

  1. docker-x, docker experimental
  2. notary

Using the Docker Toolbox Demo Pack

Set up a Docker Environment

First, set up a Docker Environment. The easiest way to do this is using the Docker Quickstart Terminal applet bundled with the Docker Toolbox.

Simple Docker Push Signing Example

export DOCKER_CONTENT_TRUST=1
docker-x pull alpine
docker-x tag alpine <username>/alpine:latest
docker-x push <username>/alpine:latest
# you should be prompted to touch the yubikey and to create a password

Generating a new key inside of your YubiKey

notary key generate

Listing keys inside of your YubiKey

notary key list

More Information

View the official Docker Content Trust docs

Uninstalling the additional demo pack content

rm -r /usr/local/docker-experimental
rm /usr/local/bin/docker-x
rm /usr/local/bin/notary