I have my Mosquitto container that is connected to an overlay network : docker network create –driver overlay –attachable mqtt –subnet=10.200.210.0/24 He got this IP on this network : So when I go on another container (connected to the same network too), and I ping the Mosquitto IP address all works : But when I ..
I have a docker-compose file that contains Nginx, PhpFpm and Varnish. My Nginx works this way: User connect to the website => Nginx (443) => Varnish (80) => Nginx (8080) => Phpfpm:9000 or others.. My project work well with "depends_on" config inside docker-compose. But, with docker swarm, the depends_on is ignored. There my problems starts.. ..
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" Source: Docker..
I’m intending to use Docker swarm to manage a set of IoT devices by using the orchestration with "global" mode. As long as the edge device has an active internet connection, everything works fine, even if the worker is running and the connection is lost, the services keep running as desired. But… If the worker ..
I am trying to create my docker swarm environment and my goal is to have all the best security practice related to docker swarm. I am not really able to find everything I want about swarm security on topics like : Authentification, Encryption, Users and Groups, Files permission, Logs, Among others. Do any of you ..
I have a YAML file which creates services by pulling images from repository as follows :- services: receiver: image: 10.170.112.11:5000/receiver:1.0.0 user: "20001" ports: – "36200:36200" deploy: replicas: 3 restart_policy: condition: any command: "npm run production" Everything goes well. Service goes up and I can also see image pulled on the server by this yaml but ..
Good Day. In my Nexus (inside Docker swarm) i create Docker Registry Repo and connect it to S3 blob store. My Nexus stay behind Traefik Proxy. When I try to push to the docker registry – I get the error (and it doesn’t matter if I’m using local storage or s3): docker push registry.company.group/ubuntu:dev Getting ..
I have a docker swarm running with some stacks deployed. Now, I’d like to restart a container with “docker container restart ” or “docker restart ” on the node the container runs on. After doing so and waiting a couple of seconds “docker ps” shows two running containers of the respective image. How can this ..
after building the stack, i got this error cron: can’t open or create /var/run/crond.pid: Permission denied Starting periodic command scheduler: cron failed! This is my code version: ‘3.7’ services: jenkins-dev: image: /jenkins/ environment: JAVA_OPTS: > ‘*‘ JENKINS_OPTS: > ‘‘ volumes: – /mnt/nfs-dev/jenkins/dev:/var/jenkins_home – /data/jenkins-dev/war:/usr/share/jenkins/war – /data/jenkins-dev/logs:/var/jenkins/log – /data/jenkins-dev/backup:/var/jenkins/backup networks: – proxy deploy: labels: – ****** ..
I have multiple subdomains for services and only one Google Oauth service, they are running in docker swarm mode. Once a user logged into a service successfully, they can also access the other serives. Now I want to restrict access for a group of users. For example, I have multiple groups groupa.domain.com, groupb.domain.com and groupc.domain.com, ..