Questions tagged [swarm]

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

320 questions
2
votes
1 answer

How to create docker swarm service with private docker registry

I have a private docker registry, and when I pull images from it everything is OK But when I want to start a docker swarm service: docker service create --name myredis --network mynetwork --replicas 1 -p 6379:6379 myregistry:8082/redis , it shows…
Nurzhan Aitbayev
  • 797
  • 1
  • 10
  • 23
2
votes
1 answer

Request new Swarm Review via Command Line

i want to access the "Request New Swarm Review" functionality in the P4V GUI for Perforce inside the command line. I did a lot of research but none of my attempts was successful. I tried: "p4 shelve -c changelistNumber #review" like it is discussed…
2
votes
0 answers

Docker swarm redis connectivity issue

I have following docker-compose.yml redis config. version: '3.5' services: db: image: redis:latest command: redis-server --bind 0.0.0.0 --appendonly yes --protected-mode no ports: - target: 6379 published: 6379 …
Alex T
  • 4,331
  • 3
  • 29
  • 47
2
votes
2 answers

docker swarm how to get all container ip using dns?

I create two service, service-a(3 replies) and service-b(5 replies). They are in micro overlay network. I want to get all container ip from dns. # docker run --rm --network micro alpine nslookup service-a But only get one ip. Is there has anyway to…
XGHeaven
  • 1,696
  • 2
  • 14
  • 17
2
votes
1 answer

Docker Swarm can not communicate with other nodes on custom overlay network

There are 4 node in my swarm, two of them are in Hongkong, the others are in USA. I create 4 service in the swarm: Service Location foo USA bar HK haha USA hehe HK These services use a same overlay network. When I try…
Tao Zhu
  • 749
  • 6
  • 12
2
votes
1 answer

Creating a network in Docker Swarm

I have a web application on java spring that connects to postgres. Сonnection string to the database: spring.datasource.url=jdbc:postgresql://postgres:5432/postgres There is a compose-file that raises the web application and the…
Trymount
  • 121
  • 4
2
votes
0 answers

can create glusterfs volume in docker swarm

I have a docker swarm cluster and I'm trying to setup gluster to run in swarm. I installed gluster on all workers and tried to create a gluster volume using this command: #gluster volume create dist-rep-vol gluster1:/bricks/brick1/brick…
tkyass
  • 2,968
  • 8
  • 38
  • 57
2
votes
0 answers

Redeploy all docker services by image on my swarm

my workflow is: push code with git Build docker image on my CI server (drone.io) Push image to my private registry Here I need to update all services in all stacks with this new image version from registry Have anyone idea how to do it in a proper…
Bauer01
  • 281
  • 1
  • 3
  • 13
2
votes
0 answers

Docker Swarm and autoredeploy when Docker image updated

We use Docker Swarm and Docker Compose for deploy services. We developing some services and dockerizing they into images and I want autoredeploy service when our docker image updated. How do you do autoredeploy on this technology stack or on other…
Ivan Bukharin
  • 321
  • 2
  • 4
  • 22
2
votes
2 answers

Docker swarm scaling behaviour on port mapping

I have a swarm composed of three nodes: $ sudo docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS i12s3zxsn4vu1c98bv3i5idr8 node03 Ready …
Lucas.de
  • 555
  • 8
  • 17
2
votes
2 answers

How to remove reverted file from swarm review

I created swarm review, then decided to revert some changes, so deleted files from corresponding CL. But files are still in swarm. There are two types of such files: Files existed before i made my changes and i reverted it. Files created during my…
Yola
  • 18,496
  • 11
  • 65
  • 106
2
votes
1 answer

How to create an nginx service in a docker swarm at port 443 and 80

I am trying to create an nginx service with 2 replicas in a docker swarm with 2 nodes in a production environment. The nodes are created in digital ocean. This nginx service is to act as a reverse proxy (https<–> http) for the apache virtual…
themis
  • 21
  • 1
  • 2
2
votes
0 answers

using the swaRm package to identify GPS location errors

I am using the swaRm package to analyse decimal degree GPS data in order to find location errors (https://rpubs.com/sjmgarnier/swaRm). Firstly I have created an R6 object from my data frame to create a trajectory table F108traj<-makeTraj(x =…
xoxo
  • 53
  • 7
2
votes
1 answer

Docker compose variables

I have a problem with docker compose, I want to use internal conainer variables to create another another variables: myapp: image: image depends_on: - anotherimage environment: - "VAR1=var1" - "VAR2=${HOSTNAME}_${VAR1}" What I get in VAR2…
madi
  • 160
  • 1
  • 13
2
votes
0 answers

docker swarm init on windows container output nothing

I create docker swarm use command:"docker swarm init ",but there is nothing output. PS C:\ConsoleZ> docker swarm init then I use command "docker node ls" in another termination , it output : PS C:\ConsoleZ> docker node ls ID …
zhya
  • 53
  • 4