Skip to content

Commit 00b88d0

Browse files
committed
Updated cheatsheet
1 parent 5cea154 commit 00b88d0

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

cheatsheet.txt

+25-1
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,28 @@ networks:
212212

213213
-----------------------------------------------------
214214

215-
docker compose up -d
215+
docker compose up -d
216+
217+
**************************************************
218+
*** 05_02 Essential Docker Networking Commands ***
219+
**************************************************
220+
221+
docker network ls
222+
223+
docker compose up -d
224+
225+
docker network inspect myapp_custom_bridge
226+
227+
docker inspect myapp-app-1
228+
229+
docker network disconnect myapp_custom_bridge myapp-app-1
230+
231+
docker inspect myapp-app-1
232+
233+
docker network connect myapp_custom_bridge myapp-app-1
234+
235+
docker inspect myapp-db-1
236+
237+
docker network prune
238+
239+
docker system prune

0 commit comments

Comments
 (0)