Questions tagged [swarm]

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

320 questions
0
votes
1 answer

In SWARM not able to access service from worker node

I am new to the docker world. During learning I have created the below setup: 1.Virtual machine - Ubuntu 20 running on VMware workstation 15 Player. IP - 192.168.0.106. I am able to access the internet from this VM(say it VM1) and able to ping that…
Debashis
  • 11
  • 1
  • 5
0
votes
0 answers

How to configure LDAP for pgadmin login without ssl

I run pgadmin with docker swarm and host can connect to external ldap server swarm cluster. conig_distro.py AUTHENTICATION_SOURCES = ['ldap', 'internal'] LDAP_AUTO_CREATE_USER = True LDAP_CONNECTION_TIMEOUT = 10 LDAP_SERVER_URI =…
Mohammad Reza Mousavi
  • 894
  • 1
  • 10
  • 18
0
votes
1 answer

docker stack (swarm) not working but docker-compose ok

I have my test service working in docker-compose but not in swarm :/ version: "3.3" services: traefik: image: "traefik:v2.2" command: #- "--log.level=DEBUG" - "--api.insecure=true" - "--providers.docker=true" -…
Artentica
  • 65
  • 1
  • 8
0
votes
1 answer

Using custom service discovery with docker swarm

I have a docker swarm mode orchestration on my servers, and as my business requirements I have a custom service discovery (it's run by swarm too). Every services after running call register method on service discovery and introduce his contact…
Mohsen Samiei
  • 131
  • 1
  • 7
0
votes
1 answer

Cannot mount volume in swarm mode

I have an image of php7.2 which is now working in production mode. When I tried to create a service of the current image , I got "cannot mount volume over existing file, file exists…
AliMahdavi
  • 109
  • 2
  • 10
0
votes
1 answer

Docker events - when will the swarm node update event be emitted?

I’m trying to detect changes in services inside a swarm: I'm listening for notifications with docker events on a manager node and then I'm going to stop some running container on a worker node. Sometimes I receive a node update event, sometimes not.…
JeffRSon
  • 10,404
  • 4
  • 26
  • 51
0
votes
1 answer

docker swarm - fail to deploy on workers node

I setup the Docker Swarm cluster with one manager node and 2 worker nodes: swarm-admin@node-1:~$ docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE…
Meraj Kashi
  • 283
  • 1
  • 8
  • 18
0
votes
0 answers

Docker Swarm bringing up containers after node is down only after 1 minute

I'm testing Docker Swarm behavior for case when one Swarm Node is down. And I've see that Docker Swarm start bringing up containers from failed node only after 50-60 seconds which is quite long from my point of view. Containers themselves starting…
Oleg Neumyvakin
  • 9,706
  • 3
  • 58
  • 62
0
votes
0 answers

Get 'unknow host' from ubuntu container in docker stack

I run ping in Ubuntu:18.04. FROM ubuntu:18.04 RUN apt-get update \ && apt-get install -y inetutils-ping Run docker stack deploy -c docker-compose.yml test to test the command ping docker-compose.yml version: '3' networks: test: services: …
wu jushan
  • 71
  • 2
  • 7
0
votes
1 answer

Docker image work well in docker run container but not in swarm

I have a Dockerfile : FROM php:7.2-apache COPY ./mysql-init.sh /etc/ RUN apt-get update && apt-get install -y \ mariadb-server \ mariadb-client \ && docker-php-ext-install mysqli && docker-php-ext-enable mysqli && \ chmod +x…
Mr.Sun
  • 129
  • 4
0
votes
1 answer

How to specify container's name in Swarm for --volumes-from option

Using standalone containers I run a cronjob with docker run -name my_name --volumes-from container_name ... I want to do the same in a Swarm stack, where my service have more that one replicas, so containers name are container_name.1.,…
0
votes
0 answers

How to keep the original worker container alive when the worker node was reconnected from a network issue in Docker Swarm

Imagine a docker swarm setup with a worker and a servic that is constrainted to the worker. If that worker was encountered into network connection issue to manager, then after a while it reconnected to the manager. We all know that the manager will…
Chenglu
  • 1,757
  • 2
  • 14
  • 23
0
votes
0 answers

Is there a WebRTC RTCSwarmConnection architecture?

I would like to create an audio (mic) and video (camera) chat room with 12 people using webRTC. I understand signalling and the need for external services like ICE & STUN to help peers connect with each other. But I don't want to use a full mesh…
Phil
  • 1,996
  • 1
  • 19
  • 26
0
votes
1 answer

Docker swarm recreate containers after reboot node

Docker swarm recreate containers after reboot node. That is, it actually destroys old containers and launches new ones. I do not like this behavior. How to change it?
0
votes
1 answer

Is there a way to push build status from a Jenkins pipeline build to a Perforce Swarm review?

I'd like to automatically have Jenkins jobs execute for reviews in much the same way you could have builds per feature branch with GitHub/GitLab integrated with Jenkins. The multibranch pipeline using Perforce Swarm seems promising: it creates new…
Jason Bullers
  • 180
  • 1
  • 8