-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
Description
docker compose up -d returns:
cycle detected at path: x-common-keys-dns-network
This worked before 2.30.0
Steps To Reproduce
this is my docker-compose.yml:
# Common environment values
x-environment: &default-tz-puid-pgid
TZ: $TZ
PUID: $PUID
PGID: $PGID
x-common-keys-dns: &common-keys-dns
dns:
- 1.1.1.1
- 1.0.0.1
x-common-keys-dns-network: &common-keys-dns-network
<<: *common-keys-dns
networks:
- t2_proxy
...
services:
...
mariadb:
<<: *common-keys-dns-network
image: ghcr.io/linuxserver/mariadb
container_name: mariadb
environment:
<<: *default-tz-puid-pgid
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
healthcheck:
test: "/usr/bin/mysql --user=${MYSQL_USER} --password=${MYSQL_PASSWORD} --execute \"SELECT 1;\""
# test: "/usr/local/mysql/bin/mysql --user=foo --password=foo --execute \"SHOW DATABASES;\""
interval: 10s
timeout: 1s
retries: 5
ports:
- '3306:3306'
volumes:
- '/mnt/data/mariadb:/var/lib/mysql:Z'
- '${HOME}/docker/mariadb:/config'
restart: unless-stopped
Compose Version
v2.30.0
Docker Environment
Client: Docker Engine - Community
Version: 27.3.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.17.1
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.30.0
Path: /usr/local/lib/docker/cli-plugins/docker-compose
Server:
Containers: 41
Running: 41
Paused: 0
Stopped: 0
Images: 65
Server Version: 27.3.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: active
NodeID: mzspegqexo7ka7bwccebn09on
Is Manager: true
ClusterID: 2qn2wroe2sinvydtudxjesbk7
Managers: 3
Nodes: 5
Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Data Path Port: 4789
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: 192.168.1.132
Manager Addresses:
192.168.1.103:2377
192.168.1.132:2377
192.168.1.140:2377
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
runc version: v1.1.14-0-g2c9f560
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.11.0-9-generic
Operating System: Ubuntu 24.10
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 30.69GiB
Name: nuc
ID: 5ddf237a-7f91-4942-8702-6ce95a3666d7
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Anything else?
No response