Skip to content

Commit

Permalink
Add Docker hub login instructions
Browse files Browse the repository at this point in the history
In order to push the image it necessary to login. As the lab is for beginners it is useful add these instructions. Fixes docker#285
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
  • Loading branch information
bhavin192 committed Jun 8, 2017
1 parent c39f7d2 commit 8b0dbd5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion beginner/chapters/webapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,17 @@ Head over to `http://localhost:8888` and your app should be live. **Note** If yo
Hit the Refresh button in the web browser to see a few more cat images.

### 2.3.4 Push your image
Now that you've created and tested your image, you can push it to [Docker Hub](https://hub.docker.com). All you have to do is:
Now that you've created and tested your image, you can push it to [Docker Hub](https://hub.docker.com).

First you have to login to your Docker hub account, to do that:

```
docker login
```

Enter `YOUR_USERNAME` and `password` when prompted.

Now all you have to do is:

```
docker push YOUR_USERNAME/myfirstapp
Expand Down

0 comments on commit 8b0dbd5

Please sign in to comment.