From 60406a0aa6a3ef45b702a532d3f875b149c1dacb Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Fri, 11 Mar 2016 14:27:06 +0200 Subject: [PATCH] closes #21119 - updating documentation for Windows and OSx users Updating Docker's documentation file docker configuration file on Windows hosts. This is of importance for Windows users whom are utilizing the Docker Toolbox. Signed-off-by: Liran Tal Upstream-commit: d2aa521822135009168fe5a13d372fbc6969dc91 Component: engine --- .../docs/userguide/containers/dockerrepos.md | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/components/engine/docs/userguide/containers/dockerrepos.md b/components/engine/docs/userguide/containers/dockerrepos.md index 9be9f53c98..8274adb85d 100644 --- a/components/engine/docs/userguide/containers/dockerrepos.md +++ b/components/engine/docs/userguide/containers/dockerrepos.md @@ -31,17 +31,21 @@ Docker itself provides access to Docker Hub services via the `docker search`, `pull`, `login`, and `push` commands. This page will show you how these commands work. ### Account creation and login -Typically, you'll want to start by creating an account on Docker Hub (if you haven't -already) and logging in. You can create your account directly on -[Docker Hub](https://hub.docker.com/account/signup/). +Before you try an Engine CLI command, if you haven't already, create a Docker +ID. You can do this through [Docker Hub](https://hub.docker.com/). Once you have +a Docker ID, log into your account from the Engine CLI: - $ docker login +```bash +$ docker login +``` -You can now commit and push your own images up to your repos on Docker Hub. +The `login` command stores your Docker ID authentication credentials in the +`$HOME/.docker/config.json` (Bash notation). For Windows `cmd` users the +notation for this file is `%HOME%\.docker\config.json` ; for PowerShell users +the notation is `$env:Home\.docker\config.json`. -> **Note:** -> Your authentication credentials will be stored in the `~/.docker/config.json` -> authentication file in your home directory. +Once you have logged in from the command line, you can `commit` and `push` +Engine subcommands to interact with your repos on Docker Hub. ## Searching for images