Now that we have contained our Vault service inside a Docker container, we are going to do some useful things with it.
The first thing we are going to do is push this to the Docker Hub so that other people may spin up their own instances or even build new images based on it.
Head over to Docker Hub at https://hub.docker.com and create an account by clicking on the Log In link in the top-right-hand corner and then clicking on Create Account. Of course, if you already have an account, just log in.
Now in a terminal, you are going to authenticate with this account by running Docker's
docker login -u USERNAME -p PASSWORD https://index.docker.io/v1/
If you see an error such as
WARNING: Error ...