Docker-Compose with Docker 1.12 “Swarm Mode”

0 votes

Can you run commands directly 'against' a swarm / swarm-mode in Docker 1.12 running on a remote machine?

Aug 10, 2018 in Docker by Hannah
• 14,090 points
43 views

1 answer to this question.

0 votes
you can run docker service commands on the master node of a swarm in order to run services on that swarm while you cant run it against a swarm mode.
You can also configure the Docker daemon (the docker daemon that is the master node of the swarm) to listen on TCP ports in order to externally expose the Docker API.
answered Aug 10, 2018 by Kalgi
• 39,330 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How do I scale in Docker Swarm Mode W/Terraform Digital Ocean Load Balancing

The solution you could build for Digital ...READ MORE

answered Jun 19, 2018 in Docker by shubham
• 6,890 points
188 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 39,330 points
30 views
0 votes
1 answer

Persisting data in a docker swarm with glusterfs

You will have to create a volume ...READ MORE

answered Aug 24, 2018 in Docker by Nilesh
• 6,900 points
504 views
0 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
982 views
0 votes
1 answer

Can you use docker-compose files to start services in Docker 1.12 swarm-mode?

Yess, you can. you must download/install the ...READ MORE

answered Aug 10, 2018 in Docker by Kalgi
• 39,330 points
37 views
0 votes
1 answer

How can I expose more than 1 port with Docker?

To expose just one port, this is ...READ MORE

answered Jul 25, 2018 in Docker by Kalgi
• 39,330 points
26 views