Skip to content

Commit 67f7203

Browse files
committed
add notice of slightly different curl output
1 parent 69b201f commit 67f7203

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

chapter_09_docker.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ curl: (7) Failed to connect to localhost port 8888 after 0 ms: Couldn't connect
984984
TIP: The `-iv` flag to curl is useful for debugging.
985985
It prints verbose output, as well as full HTTP headers.
986986

987+
// CSANAD: my `curl` output is slightly different, but it doesn't change much.
988+
987989

988990
=== Running code "inside" the container with docker exec
989991

@@ -1113,6 +1115,11 @@ $ pass:quotes[*curl -iv localhost:8888*]
11131115
curl: (52) Empty reply from server
11141116
----
11151117

1118+
// CSANAD: I'm getting a different error for some reason:
1119+
// curl: (56) Recv failure: Connection reset by peer
1120+
// Hopefully, just like above, the difference is irrelevantr but somebody please
1121+
// confirm.
1122+
11161123
==== Essential Googling the Error Message
11171124

11181125
The need to map ports and the `-p` argument to `docker run` are something you just learn,

0 commit comments

Comments
 (0)