Correct way to detach from a container without stopping it
Update: As mentioned in below answers Ctrl+p, Ctrl+q will now turn interactive mode into daemon mode. Well Ctrl+C (or Ctrl+\) should detach you from the container but it will kill the container because your main process is a bash. A little lesson about docker. The container is not a real full functional OS. When you run a container the process you launch take the … Read more