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: docker-process-approach/docker-2.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
* This is all about the images by building blocks of the container.
5
5
* Think about how to find good images and in the whole process and how to manage those images.
6
-
*TRy to manage the local image Cache when we download those images and created them on our own machines.
6
+
*Try to manage the local image Cache when we download those images and created them on our own machines.
7
7
* It is an app binaries and binaries which is for our app that we are working on and we need to know the way it run in th metadata.
8
8
* Defintion: An image is an ordered collection of the root of filesystems changes and the corresponding execution parameters for uses including a container runtimes.
9
9
* Inside this image there is actually no complete OS, It does not have kernel and kernel modules such as, drives.
@@ -214,6 +214,8 @@ ANSWER: -f
214
214
```
215
215
cd dockerfile-assignment-1
216
216
217
+
ll
218
+
217
219
vim Dockerfile
218
220
219
221
docker build cmd
@@ -222,6 +224,11 @@ docker build -t testnode .
222
224
223
225
docker container run --rm -p 80:3000 testnode
224
226
227
+
OR,
228
+
docker container run --rm -p 8080:3000 testnode
229
+
230
+
Then I went to browser http://localhost:8080/
231
+
225
232
docker images
226
233
227
234
docker tag --help
@@ -237,6 +244,10 @@ docker image ls
237
244
docker image rm codersh/testing-node
238
245
239
246
docker container run --rm -p 80:3000 codersh/testing-node
247
+
OR,
248
+
docker container run --rm -p 8080:3000 codersh/testing-node
0 commit comments