gpt4 book ai didi

docker - Docker容器- “--detach-keys Override the key sequence for detaching a container”选项是什么意思?

转载 作者:行者123 更新时间:2023-12-02 21:10:33 27 4
gpt4 key购买 nike

谷歌搜索后,此选项的精度极低,

具体来说,我想知道什么是“分离键”,什么是“分离容器的键序列”,

任何提示都会很棒,
谢谢

最佳答案

你好吗?正如这里所解释的:Docker Attach Documentation

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.



--detach-keys =“某个序列*”选项标志表示重写用于分离容器的键序列,默认键序列为 ,未定义,但是您可以运行 CTRL-p CTRL-q 序列来完成。

尝试一下!

关于docker - Docker容器- “--detach-keys Override the key sequence for detaching a container”选项是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54888874/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com