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
Copy file name to clipboardExpand all lines: docs/containers/reference.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
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