February 28, 20215 yr Running a game server docker and looking to allow SSH/telnet access (to that docker only) so that we can have a Discord script update a single text file (whitelist to allow game server access). Hopefully there is an easy way to do something like this or similar. Searches haven't really shown much. I'm assuming it is not as simple as adding a TCP port to the container and adding that port to the router? Anyone have any solutions? Edited March 1, 20215 yr by Skrumpy
February 28, 20215 yr You can do it with following command: docker exec -it "docker name" bashSent from my iPhone using Tapatalk Pro
February 28, 20215 yr 2 hours ago, macfreaker said: You can do it with following command: docker exec -it "docker name" bash That presupposes full root access to the server, not just 3 hours ago, Skrumpy said: allow SSH/telnet access (to that docker only)
March 1, 20215 yr Author 9 hours ago, jonathanm said: That presupposes full root access to the server, not just Thanks guys, just used the openssh docker and added the other docker container path as access to that path. Seems to work. Just need to figure out how to add multiple users in openssh docker as it only has variables for a single user.
Archived
This topic is now archived and is closed to further replies.