Add local console for docker attach

docker attach --sig-proxy=false cs2-dedicated
or
docker attach --detach-keys="ctrl-x" cs2-dedicated
This commit is contained in:
TYGX 2024-04-02 20:57:35 +08:00 committed by GitHub
parent 99391b5d87
commit 5517cb8693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,5 +47,7 @@ services:
- "27015:27015/tcp" # TCP
- "27015:27015/udp" # UDP
- "27020:27020/udp" # UDP
stdin_open: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
tty: true # Add local console for docker attach, docker attach --sig-proxy=false cs2-dedicated
volumes:
cs2: