In general, we have 4 cars. 3 manager and 1 workser all machines are united in docker swarm. All 4 cars are added to NO_PROXY. in our company, the compound goes through poroxy. We deploy the usual redis in one replica. Network overlay is naturally created on all machines, but when you try to access redis, it is present on only one machine -> where it is deployed, but, as I understand it, access to redis should be on all, at least manager, machines.
Why there is no access by other machines?
Redis- deployment file
version: "3.1" services: redis: image: redis:alpine restart: always ports: - "6379:6379" deploy: restart_policy: condition: on-failure networks: - redis_network networks: redis_network: external: true team to create a network
docker network create -d overlay redis_network team to create a service
docker stack deploy -c мой_вышеупомянутый_файл redis All ports are open