Questions tagged [swarm]

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

320 questions
0
votes
2 answers

Swarm healthcheck sets task to complete state

A have created a swarm and running a simple nodejs app on it. I would have liked to test how the healthcheck works in swarm environment. I have set the healthcheck block int the compose file like this: healthcheck: test: ["CMD", "curl",…
0
votes
1 answer

finding the minimum distance both value pythonic

I have a problem with finding the minimum distance for each value to another value inside the list. Each value representative to fish and each fish has visual. I can calculate distances, but the problem has started the value of fish is increased…
Subhanshuja
  • 390
  • 1
  • 3
  • 20
0
votes
0 answers

Why API call between two nodeJs services/container with serviceName as hostname is failing?

Sorry I am new to Docker and I am trying to learn the basics while playing around, basically I am having issue while making internal API calls between two nodeJs services. So I have two nodeJs servers running as service with 2 replicas of both the…
Abhijeet
  • 87
  • 9
0
votes
1 answer

How to set up a cluster in Docker Swarm?

I need to setup a cluster of nodes using Docker Swarm. When I say a node, it should have a db, few apps/services and they need to commuicate with each other. I can create a single instance of this using Docker Compose. But, I need multiple…
Saravana
  • 33
  • 2
  • 7
0
votes
1 answer

create a service for an existing container in swarm mode in azure

Note: am new to docker/swarm. I've created a WordPress/mysql containers in a docker swarm mode running on Azure as per https://docs.docker.com/compose/wordpress/. The cluster was created as per https://docs.docker.com/docker-for-azure/ here is my…
0
votes
1 answer

Is a customized load-balancer for Docker containers possible?

I am deploying my application which contains three services by using Docker Swarm. As what i’ve read so far, Docker Swarm has a load-balancer to distribute container over Worker nodes automatically based on some internal factors. That is cool! but…
hoango27
  • 89
  • 3
  • 11
0
votes
1 answer

Force docker service to access another service that is hosted on same node

In docker swarm mode , i have Worker Node 1 which has Service1 and Service2 running Worker Node 2 which has Service1 and Service2 running Service 1 on Worker Node 1 needs to invoke API on service 2 When Service1 invokes the api, everytime its…
0
votes
0 answers

Using docker swarm with named volumes

So how do I get my src files into a named volume as I would with a bound volume in development?
Lee
  • 479
  • 1
  • 4
  • 18
0
votes
0 answers

Where do I save docker-compose files of a swarm?

We are running Docker Swarm + Ceph. All runs okay. We plan to move more of our internally developed as well as third party applications to Swarm. Now the issue I have is as follows: Let’s say I deployed 10 third party applications as Swarm stacks. I…
RodneyZ
  • 94
  • 1
  • 4
0
votes
1 answer

Db2 on docker swarm memory consumption

I am using db2 on docker with a self non-root installation. Even if I set the INSTANCE_MEMORY to the minimum, it seems to reserve 4G of RAM on the server. How can DB2 be aware of the limits setted in the docker-compose file as I run the database in…
0
votes
1 answer

Docker worker is freed from the load after reboot

I have a docker swarm consisting of one manager and one worker. When I created a service with 4 replicas, I got two containers on each node (2 on the manager and 2 on the worker node). I restarted the worker node, so I found the manager now has all…
Ehab
  • 566
  • 6
  • 24
0
votes
1 answer

Docker and ram usage

I have a swarm cluster with 24Gb of RAM on each nodes. Free -g shows 6Gb used but I get some OutMemory errors on some java or elasticsearch containers. total used free shared buff/cache available Mem: …
0
votes
0 answers

Creating a requirement prioritization function in Python 3 program for a Salp Swarm Optimization

I want to be able to use a text file of requirements to be prioritized. I want to male swarm_size,min_values and maximum_values inputs from text file. SSA Function def salp_swarm_algorithm(swarm_size = 5, min_values = [-5,-5], max_values = [5,5],…
0
votes
0 answers

Manage micro-service from a container

What is the best practice to have a micro-service application configured by the customer. The use case The customer configure which services are available from an HTTP server According to the customer configuration, the dockers containing the…
Manticore
  • 441
  • 5
  • 24
0
votes
1 answer

Docker cannot connect locally after swarm is set up

I do the docker tutorial document at part 3. Because my computer is windows, I use the docker toolbox. Before part 3, I use the command docker run -p 8080:80 test, and it can connect to 192.168.99.100:8080, that's successful. But when creates a…
Vision Yang
  • 175
  • 1
  • 1
  • 8