This post will describe how to set up remote command-line access for the Docker daemon running on an Atomic host. This will let you run docker ps, docker run and other commands from your desktop and manage a server.
We are also going to secure the Docker daemon with TLS (transport layer security) since we are connecting remotely. Before you carry on with the following steps, keep in mind that any process on the client that can access the TLS certs now has full control of the Docker daemon on the server and can do anything it wants to do. So, only copy those certificates to client hosts completely under your control.
First, we will create client certificate and server certificate to secure our Docker daemon, using OpenSSL. For the rest of this post, I am using Fedora-Atomic host as the remote host (Docker daemon) and Fedora workstation as my local machine (Docker client).
Read the complete article here.