Category : swarm

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 ..

Read more

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 ..

Read more

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 ..

Read more

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: – ****** ..

Read more

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, ..

Read more