4 ms·
I know what you mean, It depends a little bit on your topology. If you have a secure network then it’s perfectly fine to expose the docker port on the network
by dijit 5y ago
I know what you mean, It depends a little bit on your topology.
If you have a secure network then it’s perfectly fine to expose the docker port on the network in plaintext without authentication.
Otherwise you can use Port forwarding over SSH.
To set up networked docker you can follow this: https://docs.docker.com/engine/security/protect-access/ https://docs.docker.com/engine/security/protect-access/
I’m on the phone so can’t give a detailed guide.
- markkrj 5y agoOr you can use a docker as a ssh host using context, or just $DOCKER_HOST=ssh://myremote... See https://stackoverflow.com/questions/44056501/how-can-i-remotely-connect-to-docker-swarm/68303222#68303222 https://stackoverflow.com/questions/44056501/how-can-i-remot...