Questions tagged [swarm]

Swarm is a web-based code review and collaboration tool for Perforce.

320 questions
3
votes
0 answers

Docker swarm can't resolve service name on other nodes

I had a small working docker swarm on google cloud platform. There are just two nodes, one with nginx and php, the other one with mysql. Right now it seems that from master node I can't connect to the mysql on the worker node. SQLSTATE[HY000] [2002]…
3
votes
0 answers

Microservices orchestration in dedicated hw devices

It will be good if someone share his experience on microservices orchestration on hardware devices and better toolset that exists for it. Logically there are well defined approach in Cloud and kubernetes can be utilized for these purposes however…
user1459144
  • 4,439
  • 5
  • 28
  • 35
3
votes
2 answers

Docker swarm mode running Hazelcast cluster

I'm running Hazelcast cluster using docker swarm. Even though nodes establish connection Members [1] { Member [10.0.0.3]:5701 -…
kboom
  • 2,279
  • 3
  • 28
  • 43
3
votes
0 answers

Apparmor on Docker Swarm

I read on the Docker documentation that it is possible to load custom AppArmor policies and ask Docker to load them for a specific container. Is it possible to use these policies also on Docker Swarm services (provided that all nodes of the cluster…
peddy94
  • 31
  • 2
3
votes
1 answer

How to connect to containers on docker Overlay network from an external machine

Is there any known solution for enabling an external machine to connect to the containers on a docker swarm overlay network?
Alex
  • 31
  • 1
3
votes
2 answers

NSQ Docker Swarm

I'm trying to use NSQ in Docker Swarm without success mhlg/rpi-nsq is a Docker image built for the Raspberry Pi ARM7 board and I can confirm is working correctly if run as a normal Docker container Running NSQ in Docker (OK) # crete a bridged…
Gavello
  • 1,399
  • 2
  • 13
  • 25
2
votes
0 answers

Are named volumes automatically deleted once the stack is removed in Swarm?

I have a Swarm cluster with 2 workers and one manager. I use a named volume for a database. Every time I remove the stack and deploy it again (testing purposes), the whole named volume is lost. Any idea on why this might happen? It's just a Postgres…
2
votes
0 answers

Docker Swarm external gateway

Is it possible to configure an outbound IP from a Docker Swarm network overlay? Example, I have several services running on Swarm. And my network interface has several IPs configured. Is it possible that everything coming out of network X comes out…
2
votes
0 answers

Docker 19.03.12 : The swarm does not have a leader aferter swarm upgrade

Some strange troubleshouting with docker since laste update. Can you help me about this ? It’s is not my firstr upgrade of package and this case have been reproduice on a freshnew stack. Updgraded from 18.09.9 to 19.03.12 OS : Ubuntu 16.04…
adenathium
  • 21
  • 1
2
votes
1 answer

setup activemq cluster in docker swarm

subject line: setup activemq cluster in docker swarm . Problem Summary: - Unable to create a setup with two active-active activemq nodes in docker swarm. so need your help to setup that. following are the details of setup I am trying to…
2
votes
0 answers

How to rename WSL2 docker-desktop node in docker swarm

In the example below I am operating with two nodes in a docker swarm. The first node is a Linux node that shows the expected node name "myNode-001" while the second node is a windows 10 PC showing the generic node name "docker-desktop". How can I…
2
votes
2 answers

Getting Connection Refused from Docker Swarm on Ubuntu 20.04

Update below! I am puzzled by Docker swarm on Ubuntu 20.04. I created a clean Ubuntu machine on Scaleway and basically followed the tutorial from https://dockerswarm.rocks/ . I soon found this tutorial also, which is a little shorter and cleaner:…
Daniel Kappelle
  • 341
  • 3
  • 7
2
votes
2 answers

docker node ls doesn't change the promoted node's manager status to reachable

I have 1 manager node (swarm-manager) and two worker nodes (swarm-worker01 and swarm-worker02). I typed the command docker node promote swarm-worker01 it gave me this output: Node swarm-worker01 promoted to a manager in the swarm. But docker node…
Yashar
  • 2,455
  • 3
  • 25
  • 31
2
votes
0 answers

Update service constraints

I have setup with 2 servers, production one called prod and staging one called staging. Both servers are in same Docker swarm. I want to write bash script to move one docker swarm service from production to staging server. I have created this 2 bash…
vodolaz095
  • 6,680
  • 4
  • 27
  • 42
2
votes
0 answers

docker swarm service, pass args to a single replica in the swarm

I need to deploy a container that receives a specific running args, say a target ip to run a bash script against it. I can get the container up and running on a single docker host and everything works just fine. Since the load of the script is…