Skip to content

Commit aee784b

Browse files
committed
Docker Container Images learned
1 parent f2171c4 commit aee784b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docker-process-approach/docker-2.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
* This is all about the images by building blocks of the container.
55
* 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.
77
* 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.
88
* Defintion: An image is an ordered collection of the root of filesystems changes and the corresponding execution parameters for uses including a container runtimes.
99
* 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
214214
```
215215
cd dockerfile-assignment-1
216216
217+
ll
218+
217219
vim Dockerfile
218220
219221
docker build cmd
@@ -222,6 +224,11 @@ docker build -t testnode .
222224
223225
docker container run --rm -p 80:3000 testnode
224226
227+
OR,
228+
docker container run --rm -p 8080:3000 testnode
229+
230+
Then I went to browser http://localhost:8080/
231+
225232
docker images
226233
227234
docker tag --help
@@ -237,6 +244,10 @@ docker image ls
237244
docker image rm codersh/testing-node
238245
239246
docker container run --rm -p 80:3000 codersh/testing-node
247+
OR,
248+
docker container run --rm -p 8080:3000 codersh/testing-node
249+
250+
Then I went to browser http://localhost:8080/
240251
```
241252

242253
### Using Prune to Keep Your Docker System Clean:

0 commit comments

Comments
 (0)