@@ -376,7 +376,7 @@ class: py-30 px-5
376
376
377
377
The ** Docker Hub** is a central repository of images we can use.
378
378
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)
380
380
381
381
::right::
382
382
@@ -456,7 +456,7 @@ layout: center
456
456
Let' s explore some fun docker images we can find on docker hub!
457
457
458
458
` ` ` bash
459
- docker run xer0x/spaceinvaders // Space Invaders on your terminal!
459
+ docker run -it xer0x/spaceinvaders // Space Invaders on your terminal!
460
460
docker run -it spkane/starwars:latest // Watch Star Wars on your terminal
461
461
` ` `
462
462
@@ -516,6 +516,10 @@ layout: center
516
516
517
517
Here' s a really cool docker container that allows us to download youtube videos with a UI.
518
518
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
+
519
523
```bash
520
524
docker run -d -p 8081:8081 -v <fill in the blanks here> ghcr.io/alexta69/metube
521
525
```
@@ -564,8 +568,12 @@ layout: center
564
568
565
569
# Exercise
566
570
571
+ Here' s another cool docker image that allows us to play manipulate PDFs.
572
+
567
573
Can you figure out how to map this Docker container such that we can use it?
568
574
575
+ > This docker container uses the port ` 8080`
576
+
569
577
` ` ` bash
570
578
// Sterling PDF:
571
579
docker run -d \
@@ -575,7 +583,7 @@ docker run -d \
575
583
frooodle/s-pdf:latest
576
584
` ` `
577
585
578
- > This docker container uses the port `8080`
586
+ * ` -e ` : Set an environment variable
579
587
580
588
---
581
589
layout: center
0 commit comments