Skip to content

Commit e307c5c

Browse files
author
Mano Marks
authored
Merge pull request docker#292 from bhavin192/webapp-fix
Add Docker hub login instructions to webapp lab
2 parents d05486e + 8b0dbd5 commit e307c5c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

beginner/chapters/webapps.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,17 @@ Head over to `http://localhost:8888` and your app should be live. **Note** If yo
422422
Hit the Refresh button in the web browser to see a few more cat images.
423423

424424
### 2.3.4 Push your image
425-
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:
425+
Now that you've created and tested your image, you can push it to [Docker Hub](https://hub.docker.com).
426+
427+
First you have to login to your Docker hub account, to do that:
428+
429+
```
430+
docker login
431+
```
432+
433+
Enter `YOUR_USERNAME` and `password` when prompted.
434+
435+
Now all you have to do is:
426436

427437
```
428438
docker push YOUR_USERNAME/myfirstapp

0 commit comments

Comments
 (0)