Modified content
Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 10s
Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 10s
This commit is contained in:
44
slides/airgapped/Importing-Images.md
Normal file
44
slides/airgapped/Importing-Images.md
Normal file
@@ -0,0 +1,44 @@
|
||||
class: title
|
||||
|
||||
# Background containers
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Objectives
|
||||
|
||||
Airgapped
|
||||
|
||||
We will now see how to:
|
||||
|
||||
* Run a non-interactive container.
|
||||
* Run a container in the background.
|
||||
* List running containers.
|
||||
* Check the logs of a container.
|
||||
* Stop a container.
|
||||
* List stopped containers.
|
||||
|
||||
---
|
||||
|
||||
## A non-interactive container
|
||||
|
||||
We will run a small custom container.
|
||||
|
||||
This container just displays the time every second.
|
||||
|
||||
```bash
|
||||
$ docker run jpetazzo/clock
|
||||
Fri Feb 20 00:28:53 UTC 2015
|
||||
Fri Feb 20 00:28:54 UTC 2015
|
||||
Fri Feb 20 00:28:55 UTC 2015
|
||||
...
|
||||
```
|
||||
|
||||
* This container will run forever.
|
||||
* To stop it, press `^C`.
|
||||
* Docker has automatically downloaded the image `jpetazzo/clock`.
|
||||
* This image is a user image, created by `jpetazzo`.
|
||||
* We will hear more about user images (and other types of images) later.
|
||||
|
||||
---
|
||||
@@ -34,9 +34,10 @@ content:
|
||||
- containers/Background_Containers.md
|
||||
- containers/Start_And_Attach.md
|
||||
- containers/Naming_And_Inspecting.md
|
||||
- containers/Labels.md
|
||||
#- containers/Labels.md
|
||||
#- containers/Getting_Inside-v2.md
|
||||
- containers/Initial_Images.md
|
||||
- airgapped/Importing_Images.md
|
||||
-
|
||||
- containers/Building_Images_Interactively.md
|
||||
- containers/Building_Images_With_Dockerfiles.md
|
||||
|
||||
@@ -26,9 +26,7 @@
|
||||
|
||||
(then open the file `@@HTML@@`)
|
||||
|
||||
- You will find new versions of these slides (and more) on the upstream repo:
|
||||
|
||||
https://container.training/
|
||||
- You will find new versions of most these slides (and more) on the upstream repo:
|
||||
|
||||
---
|
||||
|
||||
@@ -38,14 +36,15 @@
|
||||
|
||||
- These slides are written in Markdown
|
||||
|
||||
- The sources of these slides are available in a public GitHub repository:
|
||||
- The sources of many slides are available in a public GitHub repository:
|
||||
|
||||
https://@@GITREPO@@
|
||||
|
||||
- Typos? Mistakes? Questions? Feel free to hover over the bottom of the slide ...
|
||||
|
||||
<!-->
|
||||
.footnote[👇 Try it! The source file will be shown and you can view it on GitHub and fork and edit it.]
|
||||
|
||||
-->
|
||||
<!--
|
||||
.lab[
|
||||
```open https://@@GITREPO@@/tree/master/slides/common/about-slides.md```
|
||||
|
||||
Reference in New Issue
Block a user