Open survivalbloke opened 4 years ago
When you attach it won't show a command prompt, but you can start entering commands. For example I op'ed myself here and then used Ctrl-p Ctrl-q to detach:
> docker attach bds-issue34_bds_1
DEBU[0250] Forwarding signal signal="window changed"
DEBU[0250] Forwarding signal signal="window changed"
op "Itz G"
Opped: Itz G
read escape sequence
OK, I will try that when I get back home and let you know how I do. Follow up question: What happens when I update my images(as I do periodically) with docker-compose pull, then recreate them with docker-compose up -d? Will that undo my OP changes?
The OP
setting is additive, so it's safe to redo the docker-compose up with that.
when i attach, and type op or any command nothing happens
@herohamp , can you double check you have stdin and tty enabled on the container?
sorry i had not added those to the compose, it works now
ok so coming from someone that has absolutely no idea what theyre doing with this how do i op someone
how do i op someone in the github
Hello! Excellent work on this project. I have read that rcon-cli is not supported and your workaround was to use docker attach. I added the two lines to my compose file and I'm able to attach to the container but I can't figure out how to issue commands. In rcon-cli I would issue /op to set the operator. How can I do that using docker attach?