From 91c835fcb4fbdb10481f07ca309f7d59f0ab2363 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Fri, 28 Sep 2018 00:20:03 -0400 Subject: [PATCH 1/2] 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 From 3016019560c480f53139e81a3a9845979c91c754 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Fri, 28 Sep 2018 08:10:12 -0500 Subject: [PATCH 2/2] Update Start_And_Attach.md slight edits for clarity --- slides/containers/Start_And_Attach.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/containers/Start_And_Attach.md b/slides/containers/Start_And_Attach.md index 344227a1..f4740975 100644 --- a/slides/containers/Start_And_Attach.md +++ b/slides/containers/Start_And_Attach.md @@ -43,7 +43,7 @@ What does `-it` stand for? ## Detaching cont. (Win PowerShell and cmd.exe) -* Docker for Windows has a different detach expirence due to shell features. +* Docker for Windows has a different detach experience due to shell features. * `^P^Q` does not work. @@ -51,7 +51,7 @@ What does `-it` stand for? * 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. +* Both PowerShell and Bash work well in Win 10; just be aware of differences. ---