From 91c835fcb4fbdb10481f07ca309f7d59f0ab2363 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Fri, 28 Sep 2018 00:20:03 -0400 Subject: [PATCH] adding slide about PowerShell detaching --- slides/containers/Start_And_Attach.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/slides/containers/Start_And_Attach.md b/slides/containers/Start_And_Attach.md index 9bef5328..344227a1 100644 --- a/slides/containers/Start_And_Attach.md +++ b/slides/containers/Start_And_Attach.md @@ -24,7 +24,7 @@ Analogy: attaching to a container is like plugging a keyboard and screen to a ph --- -## Detaching from a container +## Detaching from a container (Linux/macOS) * If you have started an *interactive* container (with option `-it`), you can detach from it. @@ -41,6 +41,20 @@ What does `-it` stand for? --- +## Detaching cont. (Win PowerShell and cmd.exe) + +* Docker for Windows has a different detach expirence due to shell features. + +* `^P^Q` does not work. + +* `^C` will detach, rather than stop the container. + +* Using Bash, Subsystem for Linux, etc. on Windows behaves like Linux/macOS shells. + +* Both PowerShell and Bash work well in Win 10, just be savy of differences. + +--- + class: extra-details ## Specifying a custom detach sequence