From Dev.to
Reach a Remote Docker Socket Over SSH Without Exposing the Docker API
A remote Docker Engine does not need a TCP listener for you to use it from your workstation. If the engine is available through a Unix-domain socket on the server, OpenSSH can forward a local TCP port...
