Closed u6bkep closed 10 months ago
Hi @u6bkep
This is a bug caused by presence of second network configuration for you container which isn't well-supported in the version from master
branch.
As a workaround you may add a label coredns.dockerdiscovery.network
to the compose config of your container, i.e.:
jellyfin:
container_name: jellyfin
privileged: true
image: jellyfin/jellyfin:10.8.10
restart: unless-stopped
volumes:
- jellyfin_config:/config
- jellyfin_cache:/cache
- /media:/media
networks:
lan:
ipv4_address: "10.2.4.103"
ipv6_address: "fdb7:1860:52b3:8103::103"
aliases:
- "jellyfin.b.intern.gecko.network"
default:
hostname: jellyfin
labels:
coredns.dockerdiscovery.network: "lan"
This will likely cause this container to become resolvable by it's name but with it's IP's from lan
network.
This worked, but not quite as instructed. the network lan
is an alias specified in the compose file:
networks:
lan:
external:
name: docker1
setting coredns.dockerdiscovery.network: "docker1"
worked as expected and coredns is now correctly discovering fixed ip addresses.
dockerdiscovery fails to get ip addresses of containers if it has statically assigned ip addresses. container jellyfin is attached to custom docker network docker1 with statically assigned addresses 10.2.4.103 and fdb7:1860:52b3:8103::103. failes with log error
[docker] Error adding A/AAAA records for container 094a5ebcfafe: unable to find network settings for the network docker1
jellyfin docker-compose.yml
``` version: "3" services: jellyfin: container_name: jellyfin privileged: true image: jellyfin/jellyfin:10.8.10 restart: unless-stopped volumes: - jellyfin_config:/config - jellyfin_cache:/cache - /media:/media networks: lan: ipv4_address: "10.2.4.103" ipv6_address: "fdb7:1860:52b3:8103::103" aliases: - "jellyfin.b.intern.gecko.network" default: hostname: jellyfin networks: lan: external: name: docker1 volumes: jellyfin_config: external: true jellyfin_cache: external: true ```
coredns logs
``` [docker] start b.intern.gecko.network.:53 CoreDNS-1.10.1 linux/amd64, go1.18.10, [docker] Remove container entry jellyfin (094a5ebcfafe) [docker] Error adding A/AAAA records for container 094a5ebcfafe: unable to find network settings for the network docker1 [docker] Add entry of container coredns-dockerdiscovery_coredns_1 (5f8a14d999de). IP: 10.2.4.12 [docker] Remove container entry ombi (76a9e0717fcc) [docker] Error adding A/AAAA records for container 76a9e0717fcc: unable to find network settings for the network docker1 [docker] Remove container entry jfa-go (8097350f3969) [docker] Error adding A/AAAA records for container 8097350f3969: unable to find network settings for the network docker1 Container d7e52475ecdb is in another container's network namspace Container d7e52475ecdb is in another container's network namspace [docker] Add entry of container wireguard (dee1fd8527f7). IP: 10.2.4.11 [docker] Add entry of container syncthing-media (9f9014d779b9). IP: 10.2.4.6 [docker] Add entry of container radarr (aebc90a4ef65). IP: 10.2.4.2 [docker] Add entry of container archiveteam (a959cfe4927e). IP: 10.2.4.7 [docker] Remove container entry nginx-proxy-manager_app_1 (04622c9579dc) [docker] Error adding A/AAAA records for container 04622c9579dc: unable to find network settings for the network docker1 [docker] Add entry of container nginx-proxy-manager_db_1 (1957d69e4701). IP: 172.21.0.2 [docker] Add entry of container jackett (d4f3690f58a2). IP: 10.2.4.1 [docker] Add entry of container syncthing (afd47f28891b). IP: 172.22.0.2 [docker] Add entry of container filebrowser_filebrowser_1 (5b86be025400). IP: 10.2.4.9 ```
docker inspect jellyfin
``` [ { "Id": "d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97", "Created": "2023-07-01T22:51:02.952851136Z", "Path": "/jellyfin/jellyfin", "Args": [], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 278474, "ExitCode": 0, "Error": "", "StartedAt": "2023-07-01T22:51:03.932717197Z", "FinishedAt": "0001-01-01T00:00:00Z", "Health": { "Status": "healthy", "FailingStreak": 0, "Log": [ { "Start": "2023-07-01T18:57:05.579372695-04:00", "End": "2023-07-01T18:57:05.683049124-04:00", "ExitCode": 0, "Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Healthy\r100 7 0 7 0 0 3500 0 --:--:-- --:--:-- --:--:-- 3500\n" }, { "Start": "2023-07-01T18:57:35.686593517-04:00", "End": "2023-07-01T18:57:35.805833968-04:00", "ExitCode": 0, "Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 7 0 7 0 0 3500 0 --:--:-- --:--:-- --:--:-- 3500\nHealthy" }, { "Start": "2023-07-01T18:58:05.809941311-04:00", "End": "2023-07-01T18:58:05.90119448-04:00", "ExitCode": 0, "Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 7 0 7 0 0 3500 0 --:--:-- --:--:-- --:--:-- 3500\nHealthy" }, { "Start": "2023-07-01T18:58:35.904582024-04:00", "End": "2023-07-01T18:58:36.005496918-04:00", "ExitCode": 0, "Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 7 0 7 0 0 3500 0 --:--:-- --:--:-- --:--:-- 3500\nHealthy" }, { "Start": "2023-07-01T18:59:06.009339698-04:00", "End": "2023-07-01T18:59:06.117092984-04:00", "ExitCode": 0, "Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 7 0 7 0 0 3500 0 --:--:-- --:--:-- --:--:-- 3500\nHealthy" } ] } }, "Image": "sha256:b27de364af61892a0d4f2d51bd3f84d13a43a640854dc534cb33b14110529c8d", "ResolvConfPath": "/var/lib/docker/containers/d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97/resolv.conf", "HostnamePath": "/var/lib/docker/containers/d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97/hostname", "HostsPath": "/var/lib/docker/containers/d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97/hosts", "LogPath": "/var/lib/docker/containers/d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97/d920c6af2334357689ca6fdc82d58e5734f5601ee36c425cc39f60683db92d97-json.log", "Name": "/jellyfin", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "unconfined", "ExecIDs": null, "HostConfig": { "Binds": [ "jellyfin_config:/config:rw", "jellyfin_cache:/cache:rw", "/media:/media:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": { "max-file": "3", "max-size": "10m" } }, "NetworkMode": "docker1", "PortBindings": {}, "RestartPolicy": { "Name": "unless-stopped", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": [], "ConsoleSize": [ 0, 0 ], "CapAdd": null, "CapDrop": null, "CgroupnsMode": "private", "Dns": null, "DnsOptions": null, "DnsSearch": null, "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": true, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": [ "label=disable" ], "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": null, "DeviceCgroupRules": null, "DeviceRequests": null, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": null, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": null, "ReadonlyPaths": null }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/b6347f3e9ca058a22967905c5a93316ef83d94c31b7b5ea6a5198cabd89c4290-init/diff:/var/lib/docker/overlay2/b8773a66f980bf7f5a75b8f919b367ecf347c6c05a3b7fdda3fa5196af0fca23/diff:/var/lib/docker/overlay2/46ff1202e8db95da2f785cfecf238ccf172055b1d1a32556d154c24c94bf0e89/diff:/var/lib/docker/overlay2/69ab5ac094a553b2c141239f790ffe202f434635ff2e1e0604b0f2c17950a0c3/diff:/var/lib/docker/overlay2/8c524e54c258b435e91b67bcb8c53516a59346f22b1c343c4590f2a8f1ad6175/diff", "MergedDir": "/var/lib/docker/overlay2/b6347f3e9ca058a22967905c5a93316ef83d94c31b7b5ea6a5198cabd89c4290/merged", "UpperDir": "/var/lib/docker/overlay2/b6347f3e9ca058a22967905c5a93316ef83d94c31b7b5ea6a5198cabd89c4290/diff", "WorkDir": "/var/lib/docker/overlay2/b6347f3e9ca058a22967905c5a93316ef83d94c31b7b5ea6a5198cabd89c4290/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/media", "Destination": "/media", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "volume", "Name": "jellyfin_config", "Source": "/var/lib/docker/volumes/jellyfin_config/_data", "Destination": "/config", "Driver": "local", "Mode": "rw", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "jellyfin_cache", "Source": "/var/lib/docker/volumes/jellyfin_cache/_data", "Destination": "/cache", "Driver": "local", "Mode": "rw", "RW": true, "Propagation": "" } ], "Config": { "Hostname": "jellyfin", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "8096/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "affinity:container==094a5ebcfafe674b8479dee6a79f0c09064a167e1702bc65226ceccfcd653eb6", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "HEALTHCHECK_URL=http://localhost:8096/health", "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1", "LC_ALL=en_US.UTF-8", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "JELLYFIN_DATA_DIR=/config", "JELLYFIN_CACHE_DIR=/cache", "JELLYFIN_CONFIG_DIR=/config/config", "JELLYFIN_LOG_DIR=/config/log", "JELLYFIN_WEB_DIR=/jellyfin/jellyfin-web", "JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg", "NVIDIA_VISIBLE_DEVICES=all", "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility" ], "Cmd": null, "Healthcheck": { "Test": [ "CMD-SHELL", "curl -Lk \"${HEALTHCHECK_URL}\" || exit 1" ], "Interval": 30000000000, "Timeout": 30000000000, "StartPeriod": 10000000000, "Retries": 3 }, "Image": "jellyfin/jellyfin:10.8.10", "Volumes": { "/cache": {}, "/config": {}, "/media": {} }, "WorkingDir": "", "Entrypoint": [ "/jellyfin/jellyfin" ], "OnBuild": null, "Labels": { "com.docker.compose.config-hash": "7832d03a5a656ba45c4580a06d9b82d70b3609dc42654d77d3238621d09369d5", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "jellyfin", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/containers/jellyfin", "com.docker.compose.service": "jellyfin", "com.docker.compose.version": "1.29.2" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "5e71a10c2689d60ece54398dd1e939e474fa0624f40ef476be4aba80413025b6", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/5e71a10c2689", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "docker1": { "IPAMConfig": { "IPv4Address": "10.2.4.103", "IPv6Address": "fdb7:1860:52b3:8103::103" }, "Links": null, "Aliases": [ "d920c6af2334", "jellyfin", "jellyfin.b.intern.gecko.network" ], "NetworkID": "f21319947672923a6fe82ae24df73a2bfd13c11a9da3bac8e18a91256f17fd2b", "EndpointID": "8a588ae9baa78df296e5177ee74b6a9f5e40b1d1ea06ba0abe45516c61a16cbd", "Gateway": "10.2.4.254", "IPAddress": "10.2.4.103", "IPPrefixLen": 16, "IPv6Gateway": "fdb7:1860:52b3:8103::ffff", "GlobalIPv6Address": "fdb7:1860:52b3:8103::103", "GlobalIPv6PrefixLen": 65, "MacAddress": "02:42:0a:02:04:67", "DriverOpts": null }, "jellyfin_default": { "IPAMConfig": null, "Links": null, "Aliases": [ "d920c6af2334", "jellyfin" ], "NetworkID": "680850713ae045a3bb7244aab05119360ea7e97d4aa30c74323940be12dd29d0", "EndpointID": "8f76918a5c36e71bfe520a5b1703c1127709e9a35bfa9198ddace428e48491c8", "Gateway": "172.18.0.1", "IPAddress": "172.18.0.2", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "02:42:ac:12:00:02", "DriverOpts": null } } } } ] ```
coredns compose
``` version: "3.8" services: coredns: hostname: "coredns" restart: unless-stopped build: ./coredns-dockerdiscovery image: u6bkep/coredns-dockerdiscovery networks: lan: volumes: - ./Corefile:/etc/Corefile - /var/run/docker.sock:/var/run/docker.sock command: ["-conf", "/etc/Corefile"] networks: lan: external: name: docker1 ```
docker inspect coredns-dockerdiscovery_coredns_1
``` [ { "Id": "5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2", "Created": "2023-07-01T14:58:33.629903561Z", "Path": "/usr/local/bin/coredns", "Args": [ "-conf", "/etc/Corefile" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 263776, "ExitCode": 0, "Error": "", "StartedAt": "2023-07-01T22:34:18.741307135Z", "FinishedAt": "2023-07-01T22:34:17.83291391Z" }, "Image": "sha256:9ba1b5c42a5b36f1b24cd0b734eddf0d73ed3831a801f90df18fb83b675a133e", "ResolvConfPath": "/var/lib/docker/containers/5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2/resolv.conf", "HostnamePath": "/var/lib/docker/containers/5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2/hostname", "HostsPath": "/var/lib/docker/containers/5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2/hosts", "LogPath": "/var/lib/docker/containers/5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2/5f8a14d999dec5c6157081674a835f42cc77fa0c49b7b272335e106f610cfec2-json.log", "Name": "/coredns-dockerdiscovery_coredns_1", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "docker-default", "ExecIDs": null, "HostConfig": { "Binds": [ "/var/run/docker.sock:/var/run/docker.sock:rw", "/containers/coredns-dockerdiscovery/Corefile:/etc/Corefile:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": { "max-file": "3", "max-size": "10m" } }, "NetworkMode": "docker1", "PortBindings": {}, "RestartPolicy": { "Name": "unless-stopped", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": [], "ConsoleSize": [ 0, 0 ], "CapAdd": null, "CapDrop": null, "CgroupnsMode": "private", "Dns": null, "DnsOptions": null, "DnsSearch": null, "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": null, "DeviceCgroupRules": null, "DeviceRequests": null, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": null, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/58d13212fbde59bce1c214f9fbf1d4d2008f14f5d282640fd12dafe89bb41a5b-init/diff:/var/lib/docker/overlay2/su9r96k4w3tuugf8h2hhfzskb/diff:/var/lib/docker/overlay2/ijmqj37b209is0iae4q0u581j/diff:/var/lib/docker/overlay2/7fee28add50cb02747fc24dd6268add95a40d76b3ffaf4e87f10edebf1bc4ecd/diff", "MergedDir": "/var/lib/docker/overlay2/58d13212fbde59bce1c214f9fbf1d4d2008f14f5d282640fd12dafe89bb41a5b/merged", "UpperDir": "/var/lib/docker/overlay2/58d13212fbde59bce1c214f9fbf1d4d2008f14f5d282640fd12dafe89bb41a5b/diff", "WorkDir": "/var/lib/docker/overlay2/58d13212fbde59bce1c214f9fbf1d4d2008f14f5d282640fd12dafe89bb41a5b/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/var/run/docker.sock", "Destination": "/var/run/docker.sock", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/containers/coredns-dockerdiscovery/Corefile", "Destination": "/etc/Corefile", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "coredns", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], "Cmd": [ "-conf", "/etc/Corefile" ], "Image": "u6bkep/coredns-dockerdiscovery", "Volumes": { "/etc/Corefile": {}, "/var/run/docker.sock": {} }, "WorkingDir": "", "Entrypoint": [ "/usr/local/bin/coredns" ], "OnBuild": null, "Labels": { "com.docker.compose.config-hash": "c2c06e312b0a620acf173baaec352a839dde2497d30a4735d68a77ddb4d70cfe", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "coredns-dockerdiscovery", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/containers/coredns-dockerdiscovery", "com.docker.compose.service": "coredns", "com.docker.compose.version": "1.29.2" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "ae73f18afa8867be81df8ebf780d91d5cc2eb686a1db68e4445738e814dd6343", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/ae73f18afa88", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "docker1": { "IPAMConfig": null, "Links": null, "Aliases": [ "coredns", "5f8a14d999de" ], "NetworkID": "f21319947672923a6fe82ae24df73a2bfd13c11a9da3bac8e18a91256f17fd2b", "EndpointID": "bc427aa2667503ed380d67b11ff1edb1978e0fa53a78d164ba70871c592b0662", "Gateway": "10.2.4.254", "IPAddress": "10.2.4.12", "IPPrefixLen": 16, "IPv6Gateway": "fdb7:1860:52b3:8103::ffff", "GlobalIPv6Address": "fdb7:1860:52b3:8103::c", "GlobalIPv6PrefixLen": 65, "MacAddress": "02:42:0a:02:04:0c", "DriverOpts": null } } } } ] ```
network create script
``` docker network create -d macvlan \ --subnet=10.2.4.1/16 --gateway=10.2.4.254 --ip-range=10.2.4.1/24 --aux-address="do-not-assign"="10.2.4.0" \ --ipv6 --subnet=fdb7:1860:52b3:8103::/65 --subnet=fdb7:1860:52b3:8100::/65 --gateway=fdb7:1860:52b3:8103::ffff --ip-range=fdb7:1860:52b3:8103::/64 \ -o parent=eno3 --attachable docker1 ```
Corefile
``` b.intern.gecko.network. { docker { hostname_domain b.intern.gecko.network #domain b.intern.gecko.network network_aliases docker1 } } ```