I have written in detail about how to SSH into a docker container. This tutorial takes the same concept to another level by enabling remote access to Docker.
With docker remote access whenever you run a docker command on your local host the effects take place on the remote server.
Let me explain that in detail.
Before you dive into the setup let me recall how docker works. .
Docker works in something called a client-server architecture. The main component that handles all your containers volumes networks etc is the docker daemon that runs in the background. .
The docker command is nothing but the client application. The client and the daemon communicate via the docker API over a traditional Unix socket that you can find at rundocker.sock or varrundocker.sock. The client asks the daemon to do something or retrieve information and the daemon does just that.
News Link: https://linuxhandbook.com/docker-remote-access/.