Skip to content

Commit 883729b

Browse files
committed
updating the flow
1 parent 1283b36 commit 883729b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

chapter6/readme.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Talk through slides
1616

1717
=== Docker Remote API
1818

19-
. `curl --unix-socket /var/run/docker.sock http://docker/containers/<name>/stats`
19+
. `curl --unix-socket /var/run/docker.sock http://localhost/containers/<name>/stats`
2020

2121
=== Events
2222

23-
. `docker system events`
24-
. In a different tab, kill a running container using `docker container rm -f db`
25-
. Show the list of events
26-
. Start a new container: `docker container run -d jboss/wildfly`
27-
. Show the list of events
23+
. In one terminal (T1), `docker system events`
24+
. In a different terminal (T2), kill a running container using `docker container rm -f db`
25+
. Show the list of events in T1
26+
. Start a new container in T2: `docker container run -d jboss/wildfly`
27+
. Show the list of events in T1
2828

2929
== 6.3 Monitoring Docker using Prometheus and cAdvisor
3030

0 commit comments

Comments
 (0)