Questions tagged [docker-swarm]

Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.

Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.

Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Flynn, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.

Like other Docker projects, Swarm follows the "batteries included but removable" principle. It ships with a set of simple scheduling backends out of the box, and as initial development settles, an API will be developed to enable pluggable backends. The goal is to provide a smooth out-of-the-box experience for simple use cases, and allow swapping in more powerful backends, like Mesos, for large scale production deployments.

3165 questions
1
vote
1 answer

Automatically Generate Pods in Kubernetes

I previously created a Flask server that spawns Docker containers using the Docker Python SDK. When a client hits a specific endpoint, the server would generate a container. It would maintain queues, and it would be able to kill containers that…
Baily
  • 1,290
  • 2
  • 14
  • 35
1
vote
0 answers

Ansible: how to loop over ip-addresses until first success shell output?

I'm creating playbook which will be applied to new Docker swarm manager(s). Server(s) is/are not configured before playbook run. We already have some Swarm managers. I can find all of them (include new one) with: - name: 'Search for SwarmManager…
Alexey Vazhnov
  • 1,291
  • 17
  • 20
1
vote
1 answer

docker container port map with remote IP (54.xxx.xxx.23) on local development

I'm working as a DevOps for some of the Projects Where I am facing an issue, I have one docker-compose.yml which is working fine with local IP like 192.168.0.38 but I want to map it with my AWS IP (54.xxx.xxx.23) instead of local host IP. version:…
sdubey
  • 29
  • 7
1
vote
0 answers

traefik entire wildcard certificate chain configuration

We have a Docker Swarm Cluster with Consul + Traefik as a proxy for our microservices. Traefik v1.6.1 was installed and now we have to configure de wildcard certificate I have the own wild card certificate. This certificate is a wildcard certificate…
td4u
  • 402
  • 5
  • 17
1
vote
0 answers

How to test docker-compose with different config files?

I have a docker-compose.local.yml file that looks like this: version: "3.6" services: rabbitmq: image: "rabbitmq:latest" ports: - "15672:15672" - "5672:5672" volumes: -…
Jarede
  • 3,310
  • 4
  • 44
  • 68
1
vote
0 answers

Docker service container auto restart after specific time interval

We have a docker swarm and we normally run service container using Docker create service API. Now we are seeing after certain time interval the services are not responding ( means the application running inside container ). As of now the solution…
curiousguy
  • 3,212
  • 8
  • 39
  • 71
1
vote
0 answers

Docker Kill Container Randomly

I deploy my app with docker swarm. My server have 8GB of RAM But docker do OOM kill on container randomly. But when I do free -h I have 1.4G free and 6.0G available. So I don't understand by docker need to kill those container?
1
vote
1 answer

Layer 7 path based routing to Docker containers without Docker Enterprise

The Docker EE docs state you can use their built in load balancer to do path based routing: https://docs.docker.com/ee/ucp/interlock/usage/context/ I would love to use this for our local devs to have a local container cluster to develop against…
emmdee
  • 1,541
  • 3
  • 25
  • 46
1
vote
1 answer

How to run tensorflow project in docker?

I am newbie in docker, but I have searched so much about the problem I am facing. I am having a code in which I am using tensorflow, PyQt and other packages. Now, I have pulled the tensorflow/tensorflow:1.4.0-gpu-py3 and…
Akhilesh
  • 1,024
  • 1
  • 9
  • 26
1
vote
0 answers

Why does Apache HTTP mod_proxy perform unpredictably in Docker Swarm?

I have a fairly simple Docker implementation that consists of two containers running on an overlay network: one running Apache HTTP 2.4.16 and another running a Spring Boot app (using Tomcat 8). The Apache container handles all external https…
Andrew
  • 11
  • 1
1
vote
2 answers

docker overlay network problems connecting containers

We are running an environment of 6 engines each with 30 containers. Two engines are running containers with nginx proxy. These two containers are the only way into the network. It is now the second time that we are facing a major problem with a set…
1
vote
1 answer

Docker File Secrets stored in RAM?

I have a PHP application which reads the database config from a file named "database.php". Now, in the production server, I am planning to pass this database.php as a secret file. My question is whether my PHP application will read the secret…
Swastik Roy
  • 198
  • 1
  • 13
1
vote
0 answers

How to find specific services using Docker Swarm on AWS

Is there any way to do load balancing when deploying a series of microservices in AWS using Docker Swarm? Basically, I'd like to attach a specific service to an elastic load balancer the same way that can be done using ECS. Using ECS or EKS…
Juan Vega
  • 1,030
  • 1
  • 16
  • 32
1
vote
0 answers

How can i ping a container from other machine ? Using container ip ex:172.17.0.3

When i am trying to ping to container ex:172.17.0.3 .I am getting host unreachable.Please help me Thank you.
Roshan
  • 571
  • 4
  • 4
1
vote
2 answers

Docker Loaded by run command but can't access console

I built a Dockerfile where build command was successful sudo docker build --network=host -t nid-robotic-server . But when I try to run the file with docker run -it nid-robotic-server It jut exits. rafa@ace:/home/automation$ docker run -it…