How to get out from a container and go back to docker commande line while leaving the container running RRS feed

  • Question

  • I use docker on linux and I use Ctrl + P + Q to be able to go back to docker and leave the container running where I can attach later if I want to work inside the container

    Today I started to play with the new options in win10 and 2K16

    For example, I run

    docker run -it --network=External microsoft/nanoserver cmd

    I did exit, it stops the machinem did Ctrl + P + Q also stopped the machine

    So what is the command on windows?


    Monday, October 24, 2016 9:27 PM

All replies

  • Not tried on trm but certainly in Tp4/5 CtrlP and Q allows you to swap, I made a note of it at the time.

    Docker attach to attach back to a container as well

    Tuesday, October 25, 2016 12:11 PM