Skip to content

Commit

Permalink
Merge pull request docker#292 from bhavin192/webapp-fix
Browse files Browse the repository at this point in the history
Add Docker hub login instructions to webapp lab
  • Loading branch information
Mano Marks committed Jun 9, 2017
2 parents d05486e + 8b0dbd5 commit e307c5c
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 e307c5c

Please sign in to comment.