remote docker commands execution

Now I have two laptops (not necessary in one local network) and docker installed on both of them. My goal is to run docker daemon on the first laptop and be able to execute commands using docker client on the second laptop. What should I do to achieve the goal?

  • Creating a swarm cluster with Docker for Mac
  • Specify docker engine version with docker machine
  • docker unauthorized: authentication required - upon push with successful login
  • Service 'web' failed to build: lstat apache/sites-enabled/000-default.conf: no such file or directory
  • docker deploy vs docker stack deploy
  • IBM Bluemix impossible to delete a container
  • In dockerfile after create or copy file or directory in RUN statement it not/doesn't exists
  • Where to find the OS that I installed using Docker?
  • How do you deploy a docker image into Cloud Foundry? [Bluemix]
  • OS Container vs Application Container
  • Docker quickstart terminal not opening
  • Docker images for application packaging
  • 2 Solutions collect form web for “remote docker commands execution”

    Follow the public API? Docker Engine API

    Setup Docker to listen for TCP connections on a specified port and protect that port with TLS. You must setup some environment variables so the Docker client communicates with the Docker daemon.

    Here’s the relevant documentation:

    Enjoy, and have fun.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.