Connect to Docker on Remote Host?

Is it possible to connect in a secure way to docker running on a remote host - i.e. not my local machine? I don't need debugging capabilities on the remote server; I just want to be able to use the services panel to browse images and containers using the same UI as my local machine.

I can't find anything in the docs about this. Is it possible?

4 comments
Comment actions Permalink

I just don't understand why connecting via SSH isn't an option here...

0
Comment actions Permalink

Thanks for the info. I upvoted that feature request.

As for the TCP approach, that’s not secure, is it?

As for the socket forwarding approach, would that enable me use the IDEA UI to interact with containers on both the local and remote machines? It seems not.

0
Comment actions Permalink

As for the TCP approach, that’s not secure, is it?

That's not, correct.

As for the socket forwarding approach, would that enable me use the IDEA UI to interact with containers on both the local and remote machines? It seems not.

Why? You don't have to overwrite the local docker.sock with the remote one, you can even map the remote one to a local TCP port: https://youtrack.jetbrains.com/issue/PY-33489#focus=streamItem-27-3922425.0-0

0

Please sign in to leave a comment.