@@ -942,7 +942,7 @@ CONTAINER ID IMAGE COMMAND CREATED STATUS
942
942
943
943
Your values for `CONTAINER_ID` and `NAMES` will be different from mine,
944
944
because they're randomly generated.
945
- But, make a note of one or the other, and then run `docker exec -it <containerid > bash`.
945
+ But, make a note of one or the other, and then run `docker exec -it <container-id > bash`.
946
946
On most platforms, you can use tab-completion for the container id or name.
947
947
948
948
Let's try it now. Notice that the shell prompt will change from your default Bash prompt
@@ -954,10 +954,10 @@ so that you can be sure of what's being run inside vs outside containers.
954
954
955
955
[subs="specialcharacters,macros"]
956
956
----
957
- $ pass:quotes[*docker exec -it < container-id-or-name> bash*]
957
+ $ pass:quotes[*docker exec -it container-id-or-name bash*]
958
958
root@5ed84681fdf8:/src# pass:quotes[*apt-get update && apt-get install -y curl*]
959
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
960
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
959
+ Get:1 pass:[ http://deb.debian.org/debian] bookworm InRelease [151 kB]
960
+ Get:2 pass:[ http://deb.debian.org/debian] bookworm-updates InRelease [52.1 kB]
961
961
[...]
962
962
Reading package lists... Done
963
963
Building dependency tree... Done
@@ -976,7 +976,7 @@ root@5ed84681fdf8:/src# pass:quotes[*curl -iv http://localhost:8888*]
976
976
< HTTP/1.1 200 OK
977
977
HTTP/1.1 200 OK
978
978
[...]
979
- <!doctype html>
979
+ pass:verbatim[ <!doctype html>]
980
980
<html lang="en">
981
981
982
982
<head>
0 commit comments