Skip to content

Commit bd04784

Browse files
committed
Final edits
1 parent 2bda607 commit bd04784

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Diff for: slides.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class: py-30 px-5
376376
377377
The **Docker Hub** is a central repository of images we can use.
378378
379-
To view the Docker Hub, go to [hub.docker.com](hub.docker.com)
379+
To view the Docker Hub, go to [hub.docker.com](https://hub.docker.com)
380380
381381
::right::
382382
@@ -456,7 +456,7 @@ layout: center
456456
Let's explore some fun docker images we can find on docker hub!
457457
458458
```bash
459-
docker run xer0x/spaceinvaders // Space Invaders on your terminal!
459+
docker run -it xer0x/spaceinvaders // Space Invaders on your terminal!
460460
docker run -it spkane/starwars:latest // Watch Star Wars on your terminal
461461
```
462462
@@ -516,6 +516,10 @@ layout: center
516516
517517
Here's a really cool docker container that allows us to download youtube videos with a UI.
518518
519+
Given that we know the docker directory location is `/downloads`, map our volumes so we can also see the downloaded vidoes on our computer as well.
520+
521+
> You can visit the site at `localhost:8081`
522+
519523
```bash
520524
docker run -d -p 8081:8081 -v <fill in the blanks here> ghcr.io/alexta69/metube
521525
```
@@ -564,8 +568,12 @@ layout: center
564568
565569
# Exercise
566570
571+
Here's another cool docker image that allows us to play manipulate PDFs.
572+
567573
Can you figure out how to map this Docker container such that we can use it?
568574
575+
> This docker container uses the port `8080`
576+
569577
```bash
570578
// Sterling PDF:
571579
docker run -d \
@@ -575,7 +583,7 @@ docker run -d \
575583
frooodle/s-pdf:latest
576584
```
577585
578-
> This docker container uses the port `8080`
586+
* `-e`: Set an environment variable
579587
580588
---
581589
layout: center

0 commit comments

Comments
 (0)