2 instances of caddy service, 2 instances of mongo service
Describe the results you expected:
0 instances of caddy service, 2 instances of mongo service
Additional information you deem important (e.g. issue happens only occasionally):
It used to work before.
In recent release (maybe a month or so) this was not working anymore.
It works if I remove the replica setting in the base stack.yaml but I intended it to be my production config.
I would like to see if this is the expected behavior, that the base yaml should not contain replica setting.
Output of docker version:
Client:
Version: 20.10.8
API version: 1.41
Go version: go1.16.6
Git commit: 3967b7d28e
Built: Wed Aug 4 10:59:01 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.16.4
Git commit: b0f5bc36fe
Built: Fri Jun 4 08:14:24 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.5.2
GitCommit: 36cc874494a56a253cd181a1a685b44b58a2e34a.m
runc:
Version: 1.0.1
GitCommit: v1.0.1-0-g4144b638
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Description
I've been using multiple Compose files to suppress some services and run it locally in dev environment .
Steps to reproduce the issue:
https://gist.github.com/leesei/aaa22b2ea191c2ef313096622359c7e9
Describe the results you received:
2 instances of caddy service, 2 instances of mongo service
Describe the results you expected:
0 instances of caddy service, 2 instances of mongo service
Additional information you deem important (e.g. issue happens only occasionally):
It used to work before. In recent release (maybe a month or so) this was not working anymore. It works if I remove the replica setting in the base
stack.yaml
but I intended it to be my production config. I would like to see if this is the expected behavior, that the base yaml should not contain replica setting.Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Arch on physical machine, everything up to date.