Attach to Docker Container


Recommended Posts

Unraid already has the ability to shell into a docker container, but it would be quite nice if you could attach to a docker container in the same way by using ttyd.

 

I've tried running:

docker attach my_container

But all I get is a blank prompt when it should be the initial docker command

 

Maybe something could be done with screen or tmux and docker containers could be started within one (and the ttyd client would just connect to that session)

Edited by DanTheMan827
Link to comment

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.