Questions tagged [swarm]

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

320 questions
5
votes
1 answer

Docker socket crash after stack up

I trying to deploy docker stack, that includes my development environment. But in random cases I have next error: > failed to create service < service_name >: Cannot connect to the > Docker daemon at unix:///var/run/docker.sock. Is the docker…
Sergey Bezugliy
  • 580
  • 7
  • 23
5
votes
0 answers

Docker swarm ignores iptables=false flag

I'm trying to setup a docker swarm, but I want to use ufw to create my own network rules. I've tried both putting --iptables=false in the docker service file, and also putting { "iptables": false } in /etc/docker/daemon.json. However, whenever I…
5
votes
4 answers

Alpine Linux docker set hostname

I'm using lwieske/java-8:server-jre-8u121-slim with Alpine Linux I'd like to set hostname from a text file to be seen globally (for all shells) / # env HOSTNAME=2fa4a43a975c / # cat /etc/afile something / # hostname -F /etc/afile hostname:…
madi
  • 160
  • 1
  • 13
5
votes
2 answers

Docker Swarm Overlay Network Communication

I'm trying to setup a Docker Swarm where containers comunicate using Overlay Network but I can make it work I'm simulating the infrastructure using 4 Raspberry Pi 3 Boards using HypriotOS 1.0.0 Linux distribution which include Docker Engine 1.12.1…
Gavello
  • 1,399
  • 2
  • 13
  • 25
4
votes
1 answer

While inside a docker swarm container, how do i determine which replica number a container is?

Given that I have a docker swarm service named Whale with a replica count of 10 When the container starts How can the runtime program determine which replica number it is? IE: "I am whale replica 3 of 10"
Jack Murphy
  • 2,952
  • 1
  • 30
  • 49
4
votes
1 answer

Delete a comment in a swarm review

On the swarm review page, I only see an option to archive comments. Is there a way to delete a comment that has already been posted (with or without a delay notification flag)?
rahs
  • 1,759
  • 2
  • 15
  • 31
4
votes
0 answers

Deploy Gitlab Runner stack with docker swarm

I'm trying to deploy a gitlab runner stack in docker-compose above: version: '3.8' services: dind: image: docker:stable deploy: mode: replicated placement: constraints: - "node.role==worker" …
4
votes
1 answer

Docker Swarm Service IP High-availability

I've built a docker swarm cluster (6 nodes). Although I was able to build resilient services (several nodes answering requests for the same service with several instances), I cannot find a way to build a high-availability IP level service (using a…
4
votes
0 answers

static IP for container in docker swarm

I'm new in docker and I have a simple question. I have 3 hosts running a docker swarm with the following ip's: 192.168.0.52 192.168.0.53 192.168.0.54 Also, I've created a http service with a published port:8080. As expected, service it's available…
Alex Troto
  • 651
  • 6
  • 18
4
votes
1 answer

Is docker swarm loadbalancer enabled by default in traefik?

I just need to know the answer on this question If it is disabled by default is there any option to enabled it on all backends without adding label "traefik.backend.loadbalancer.swarm=true" on every service?
Bauer01
  • 281
  • 1
  • 3
  • 13
4
votes
1 answer

How to rename docker service in swarm?

I have a docker swarm which runs a service named web. For some reasons I want to rename it. I could delete the service and create a new one, but it's not quite good. How to rename it to such as old-web?
Yao Zhao
  • 4,373
  • 4
  • 22
  • 30
4
votes
2 answers

how to clear cache memory inside docker container

I have a docker swarm CE setup in EC2. I have two nodes. 1 manager and 1 worker. The host instance type is Alpine Linux. In the Manager host the Memory usage is: ~ $ free -m total used free shared buffers …
4
votes
2 answers

Does Swarm support syntax highlighting?

Code in code review screen looks pale without syntax highlights.
Val K
  • 105
  • 8
4
votes
0 answers

How to integrate TeamCity with Perforce Swarm test run status?

Swarm can call a URL, and provide the changelist number and two callback URLs: one to report test failure and one to report success (Swarm integration API). Is it possible to integrate this API with Teamcity builds? Teamcity definitely supports…
Massimiliano
  • 16,770
  • 10
  • 69
  • 112
3
votes
0 answers

Is there a collective-noun for what is created by running docker-compose

I used docker-compose a lot, but I have never come across the collective-noun of what results from running docker-compose. I feel like calling the infra that docker-compose creates and "cluster" or a "swarm" is not entirely accurate. The technology…
nightwuffle
  • 311
  • 3
  • 10
1
2
3
21 22