File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,17 @@ others can use the below mysql
17
17
5. docker image build -t jukebox:v1 .
18
18
19
19
20
- //Now run the built image as a container in the already existing network jukebox-mysql
21
- 6. docker container run --network jukebox-mysql --name jukebox-jdbc-container -p 8080:8080 -d jukebox:v1
20
+ //Now run the already built image(jukebox:v1 in our case) as a container in the already existing network jukebox-mysql
21
+ 6. docker container run --network jukebox-mysql --name jukebox-jdbc-container -p 8080:8080 -d jukebox:v1
22
+
23
+ Some additional docker commands
24
+ 1. List docker containers
25
+ docker container ls
26
+ 1.1 Stop docker container
27
+ docker container stop <container id>
28
+ 1.2 Remove docker container
29
+ docker container rm <container id>
30
+ 2. List docker network
31
+ docker network ls
32
+ 2.1 Remove docker network
33
+ docker network rm <network id>
You can’t perform that action at this time.
0 commit comments