프로그램 사용/docker2019. 7. 10. 10:39

이건 순수하게 docker 기능

ctrl-p-q를 통해서 attach 한걸 떼어낼수 있다.

다만 VPN등을 통해 접속시에는 해당 시그널을 못 보내서 안되는 경우도 있다고 하니

그럴 경우에는 다른 시퀀스를 지정해주면 되려나?

 

You can detach from a container and leave it running using the CTRL-p CTRL-q key sequence.

Override the detach sequence

If you want, you can configure an override the Docker key sequence for detach. This is useful if the Docker default sequence conflicts with key sequence you use for other applications. There are two ways to define your own detach key sequence, as a per-container override or as a configuration property on your entire configuration.

To override the sequence for an individual container, use the --detach-keys="<sequence>" flag with the docker attachcommand. The format of the <sequence> is either a letter [a-Z], or the ctrl- combined with any of the following:

  • a-z (a single lowercase alpha character )
  • @ (at sign)
  • [ (left bracket)
  • \\ (two backward slashes)
  • _ (underscore)
  • ^ (caret)

These a, ctrl-a, X, or ctrl-\\ values are all examples of valid key sequences. To configure a different configuration default key sequence for all containers, see Configuration file section.

[링크 : https://docs.docker.com/engine/reference/commandline/attach/]

 

[링크 : https://bestna.wordpress.com/2014/11/10/docker-container-run-이야기/]

[링크 : https://blog.naver.com/alice_k106/220359633558]

[링크 : https://stackoverflow.com/questions/25267372/]

'프로그램 사용 > docker' 카테고리의 다른 글

docker volume  (0) 2019.07.10
docker apache reload  (0) 2019.07.10
docker login/logout  (0) 2019.07.10
docker ps  (0) 2019.07.09
docker tag & push  (0) 2019.07.09
Posted by 구차니