-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
area/networkingarea/scriptsbug/solution verifiedA bug report, whose bug is confirmed and a verified solution was proposedA bug report, whose bug is confirmed and a verified solution was proposedkind/bug/reportA report about a bugA report about a bugstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI
Description
π Preliminary Checks
- I tried searching for an existing issue and followed the debugging docs advice, but still need assistance.
- I will disclose any AI assistance I have used with the information I provide in my report, so that I do not waste the time of humans trying to help me.
π What Happened?
docker-mailserver/target/scripts/startup/setup.d/networking.sh
Lines 16 to 23 in 0f5763c
| CONTAINER_IP=$(ip addr show "${NETWORK_INTERFACE}" | \ | |
| grep 'inet ' | sed 's|[^0-9\.\/]*||g' | cut -d '/' -f 1) | |
| CONTAINER_NETWORK=$(echo "${CONTAINER_IP}" | cut -d '.' -f1-2).0.0 | |
| if [[ -z ${CONTAINER_IP} ]]; then | |
| _log 'error' 'Detecting the container IP address failed' | |
| _dms_panic__misconfigured 'NETWORK_INTERFACE' 'Network Setup [docker_permit]' | |
| fi |
will cause a crash when the container is attached to an IPv6 only network.
The whole crash could also have been prevented in the first place because by default PERMIT_DOCKER is set to none and therefore no IP resolution is needed in the first place.
π Reproduction Steps
- Create a IPv6 only network using for example:
docker network create --ipv4=false --ipv6 traefik-mail - Attach the docker mailserver container to it
π DMS Version
15.1.0
π» Operating System and Architecture
irrelevant
βοΈ Container configuration files
π Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/networkingarea/scriptsbug/solution verifiedA bug report, whose bug is confirmed and a verified solution was proposedA bug report, whose bug is confirmed and a verified solution was proposedkind/bug/reportA report about a bugA report about a bugstale-bot/ignoreIndicates that this issue / PR shall not be closed by our stale-checking CIIndicates that this issue / PR shall not be closed by our stale-checking CI