Menu
  • HOME
  • TAGS

Docker Data Volume Container - Can I share across swarm

docker,large-data-volumes,docker-swarm

Can data volume containers be used/mounted in containers residing on other hosts within a docker swarm? Docker, by itself, does not provide any facility for either migrating data or sharing data between hosts in a cluster. How is the performance? is it recommended to structure things this way? Docker...

Creating a docker swarm cluster in Vagrant

ubuntu,vagrant,virtual-machine,docker-swarm

As show swarm/discovery in comment: # on each of your nodes, start the swarm agent # <node_ip> doesn't have to be public (eg. 192.168.0.X), # as long as the swarm manager can access it. $ swarm join --addr=<node_ip:2375> token://<cluster_id> node_ip it's the ip address of the new node of the...

Adding nodes on the fly with Docker Swarm

docker,docker-swarm

Not you can't add on the fly nodes with list of IPs without restart manually your swarm and adding new hosts. But if you use swarm with service discovery you can do it. You can found here the needed reference to implement docker-swarm with service discovery and how join nodes...

Docker daemon not starting after adding the -H flag

docker,docker-swarm

This commands states the client cannot talk to the docker daemon/engine/server. According to logs, your server is running. With only the -H tcp://0.0.0.0:2375, if you didn't export DOCKER_HOST=127.0.0.1:2375, the docker client won't be able to talk to the daemon. You have 2 ways to handle this : Exporting DOCKER_HOST #...