How to connect local container to Docker Swarm remotely

I have Ubuntu 16 server with running docker containers in Swarm mode on it.
Server Docker version is 1.12.5, build 7392c3b.

I want to create Docker container on local machine (or another Ubuntu server) and give this container access to Docker Swarm network on the fist server to be able to request nodes inside Swarm.

  • How to check the configuration of an app deployed on docker container
  • Change Container Assigned IP address
  • Remote communication with private docker registry issues
  • Wildfly Docker Container Live Migration with CRIU fails
  • Accessing enviroment variables from a linked container
  • how to deploy .net core web api to linux machine
  • My local machine has Windows 10 OS.

    Is it possible to give access into Docker Swarm network to Docker remote container?

  • Disable hosts file in docker container
  • Azure App Service + Docker Autodeploy?
  • How can I make Atifactory docker registry images use docker manifest version 2?
  • Configuring Couchbase connection ports through their Node.js API [Docker]
  • Fig apparently not using volume_from on mysql service
  • How do I advertise AND browse mDNS from within docker container?
  • One Solution collect form web for “How to connect local container to Docker Swarm remotely”

    Sure. If your local machine joins the swarm (docker swarm join) then it would be part of the swarm overlay network.

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