Skip to content

Commit

Permalink
Final edits
Browse files Browse the repository at this point in the history
  • Loading branch information
gunbux committed Feb 21, 2024
1 parent 2bda607 commit bd04784
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class: py-30 px-5
The **Docker Hub** is a central repository of images we can use.
To view the Docker Hub, go to [hub.docker.com](hub.docker.com)
To view the Docker Hub, go to [hub.docker.com](https://hub.docker.com)
::right::
Expand Down Expand Up @@ -456,7 +456,7 @@ layout: center
Let's explore some fun docker images we can find on docker hub!
```bash
docker run xer0x/spaceinvaders // Space Invaders on your terminal!
docker run -it xer0x/spaceinvaders // Space Invaders on your terminal!
docker run -it spkane/starwars:latest // Watch Star Wars on your terminal
```
Expand Down Expand Up @@ -516,6 +516,10 @@ layout: center
Here's a really cool docker container that allows us to download youtube videos with a UI.
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.
> You can visit the site at `localhost:8081`
```bash
docker run -d -p 8081:8081 -v <fill in the blanks here> ghcr.io/alexta69/metube
```
Expand Down Expand Up @@ -564,8 +568,12 @@ layout: center
# Exercise
Here's another cool docker image that allows us to play manipulate PDFs.
Can you figure out how to map this Docker container such that we can use it?
> This docker container uses the port `8080`
```bash
// Sterling PDF:
docker run -d \
Expand All @@ -575,7 +583,7 @@ docker run -d \
frooodle/s-pdf:latest
```
> This docker container uses the port `8080`
* `-e`: Set an environment variable
---
layout: center
Expand Down

0 comments on commit bd04784

Please sign in to comment.