Remote access to Docker file(s) [solved]


4 posts in this topic Last Reply

Recommended Posts

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 by Skrumpy
Link to post
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)

 

Link to post
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.

Link to post
  • Skrumpy changed the title to Remote access to Docker file(s) [solved]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.