You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-https://learning.oreilly.com/library/view/cloud-native-architectures/9781787280540/[Piyum Zonooz, Erik Farr, Kamal Arora, Tom Laszewski, (2018). Cloud Native Architectures. Publisher: Packt Publishing]
-[Piyum Zonooz, Erik Farr, Kamal Arora, Tom Laszewski, (2018). Cloud Native Architectures. Publisher: Packt Publishing](https://learning.oreilly.com/library/view/cloud-native-architectures/9781787280540)
Copy file name to clipboardExpand all lines: docs/containers/index.md
+22-11Lines changed: 22 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,9 @@ There are many different container standards available today. Some of them are a
40
40
41
41
Among them, Docker was one of the most popular mainstream container software tools.
42
42
43
-
***Open Container Initiative (OCI)***
43
+
!!! info "Open Container Initiative (OCI)"
44
44
45
-
A Linux Foundation project developing a governed container standard. Docker and Rocket are OCI-compliant. But, Garden is not.
45
+
A Linux Foundation project developing a governed container standard. **Docker** and **Rocket** are OCI-compliant. But, **Garden** is not.
46
46
47
47
## Benefits
48
48
@@ -52,10 +52,12 @@ A Linux Foundation project developing a governed container standard. Docker and
52
52
- Portable
53
53
- Supports agile development
54
54
55
-
To know more about Containerization, we have couple of guides. Feel free to check them out.
55
+
???+ note "Containerization Guides"
56
56
57
-
-[Containerization: A Complete Guide](https://www.ibm.com/cloud/learn/containerization).
58
-
-[Containers: A Complete Guide](https://www.ibm.com/cloud/learn/containers).
57
+
To know more about Containerization, we have couple of guides. Feel free to check them out.
58
+
59
+
- [Containerization: A Complete Guide](https://www.ibm.com/cloud/learn/containerization).
60
+
- [Containers: A Complete Guide](https://www.ibm.com/cloud/learn/containers).
59
61
60
62
## Docker
61
63
@@ -81,28 +83,37 @@ These images are build from the `Dockerfile`.
81
83
- It specifies the operating system.
82
84
- It also includes things like environmental variables, ports, file locations etc.
83
85
84
-
If you want to try building docker images, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/) (Interactive Learning Platform).
86
+
???+ note "Interactive Learning"
87
+
88
+
If you want to try building docker images, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/){target="_blank"} (Interactive Learning Platform).
The standard unit where the application service is located or transported. It packages up all code and its dependencies so that the application runs quickly and reliably from one computing environment to another.
91
95
92
-
If you want to try deploying a docker container, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/9781788991315-video4_2/#t11m27s) (Interactive Learning Platform).
96
+
???+ note "Interactive Learning"
97
+
98
+
If you want to try deploying a docker container, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/){target="_blank"} (Interactive Learning Platform).
99
+
100
+
- [Deploying a Docker Container](https://learning.oreilly.com/videos/docker-for-the/9781788991315/9781788991315-video4_2/#t11m27s){target="_blank"}
93
101
94
102
### Docker Engine
95
103
96
104
Docker Engine is a program that creates, ships, and runs application containers. The engine runs on any physical or virtual machine or server locally, in private or public cloud. The client communicates with the engine to run commands.
97
105
98
-
If you want to learn more about docker engines, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/9781788991315-video7_1/)
106
+
???+ note "Interactive Learning"
107
+
108
+
If you want to learn more about docker engines, try this course on [O'Reilly](https://learning.oreilly.com/videos/docker-for-the/9781788991315/){target="_blank"} (Interactive Learning Platform).
The registry stores, distributes, and shares container images. It is available in software as a service (SaaS) or in an enterprise to deploy anywhere you that you choose.
103
115
104
-
**Docker Hub** is a popular registry. It is a registry which allows you to download docker images which are built by different communities. You can also store your own images there. You can check out various images available on docker hub [here](https://hub.docker.com/search?q=&type=image).
105
-
116
+
**Docker Hub** is a popular registry. It is a registry which allows you to download docker images which are built by different communities. You can also store your own images there. You can check out various images available on docker hub [here](https://hub.docker.com/search?q=&type=image){target="\_blank"}.
Copy file name to clipboardExpand all lines: docs/containers/reference.md
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,14 @@ For example, Docker created standard way to create images for Linux Containers.
12
12
| Run `hello-world` Container |`docker run hello-world`|
13
13
| List Running Containers |`docker ps`|
14
14
| Stop a container |`docker stop <container-name/container-id>`|
15
-
| List Docker Images |`docker images`|
15
+
| List Docker Images |`docker images`|
16
16
| Login into registry |`docker login`|
17
17
| Build an image |`docker build -t <image_name>:<tag> .`|
18
-
| Inspect a docker object |`docker inspect <name/id>`|
19
-
| Inspect a docker image |`docker inspect image <name/id>`|
20
-
| Pull an image |`docker pull <image_name>:<tag>`|
21
-
| Push an Image |`docker push <image_name>:<tag>`|
22
-
| Remove a container |`docker rm <container-name/container-id>`|
18
+
| Inspect a docker object |`docker inspect <name/id>`|
19
+
| Inspect a docker image |`docker inspect image <name/id>`|
20
+
| Pull an image |`docker pull <image_name>:<tag>`|
21
+
| Push an Image |`docker push <image_name>:<tag>`|
22
+
| Remove a container |`docker rm <container-name/container-id>`|
23
23
24
24
## Running Docker
25
25
@@ -50,6 +50,7 @@ For example, Docker created standard way to create images for Linux Containers.
50
50
``` bash
51
51
ibmcloud cr login --client docker
52
52
```
53
+
53
54
<!---
54
55
=== "Docker on Kubernetes/OpenShift"
55
56
@@ -74,7 +75,7 @@ For example, Docker created standard way to create images for Linux Containers.
74
75
``` bash
75
76
docker version
76
77
```
77
-
78
+
78
79
=== "Kubernetes"
79
80
80
81
1. If you have already configured your Kubernetes, skip to step 5. First, add a user by setting credentials. Feel free to change the credential name, username and password to whatever you like.
@@ -112,11 +113,12 @@ For example, Docker created standard way to create images for Linux Containers.
| IBM Container Registry | Build and Deploy Run using IBM Container Registry |[IBM Container Registry](../labs/containers/container-registry/index.md)| 30 min |
120
-
| Docker Lab | Running a Sample Application on Docker |[Docker Lab](../labs/containers/index.md)| 30 min |
| IBM Container Registry | Build and Deploy Run using IBM Container Registry |[IBM Container Registry](../labs/containers/container-registry/index.md)| 30 min |
122
+
| Docker Lab | Running a Sample Application on Docker |[Docker Lab](../labs/containers/index.md)| 30 min |
121
123
122
124
Once you have completed these tasks, you should have a base understanding of containers and how to use Docker.
0 commit comments