• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Container is binding to incorrect subnet and ignoring network.xml

     
    • 0 Vote(s) - 0 Average

    Container is binding to incorrect subnet and ignoring network.xml

    docker container is binding to 192.168.0.0/16 instead of 192.168.1.0/24 and ignoring network.xml
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #19
    2024-04-03, 10:59 PM
    (2024-04-03, 07:59 PM)TheDreadPirate Wrote: What is the output of 

    Code:
    docker inspect jellyfin
    Code:
    toor@docker:~$ docker inspect jellyfin
    [
        {
            "Id": "8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673",
            "Created": "2024-04-03T19:52:05.343344325Z",
            "Path": "/jellyfin/jellyfin",
            "Args": [],
            "State": {
                "Status": "running",
                "Running": true,
                "Paused": false,
                "Restarting": false,
                "OOMKilled": false,
                "Dead": false,
                "Pid": 2182,
                "ExitCode": 0,
                "Error": "",
                "StartedAt": "2024-04-03T19:56:02.225668038Z",
                "FinishedAt": "2024-04-03T19:56:01.962120183Z",
                "Health": {
                    "Status": "healthy",
                    "FailingStreak": 0,
                    "Log": [
                        {
                            "Start": "2024-04-03T22:56:30.469041828Z",
                            "End": "2024-04-03T22:56:30.562583055Z",
                            "ExitCode": 0,
                            "Output": "Healthy"
                        },
                        {
                            "Start": "2024-04-03T22:57:00.566802936Z",
                            "End": "2024-04-03T22:57:00.633739519Z",
                            "ExitCode": 0,
                            "Output": "Healthy"
                        },
                        {
                            "Start": "2024-04-03T22:57:30.635547174Z",
                            "End": "2024-04-03T22:57:30.7189046Z",
                            "ExitCode": 0,
                            "Output": "Healthy"
                        },
                        {
                            "Start": "2024-04-03T22:58:00.722803523Z",
                            "End": "2024-04-03T22:58:00.78885388Z",
                            "ExitCode": 0,
                            "Output": "Healthy"
                        },
                        {
                            "Start": "2024-04-03T22:58:30.791768242Z",
                            "End": "2024-04-03T22:58:30.857427294Z",
                            "ExitCode": 0,
                            "Output": "Healthy"
                        }
                    ]
                }
            },
            "Image": "sha256:544d674913bc396256f62e1540b88bfa0ed49714b941007c658e04018dea36da",
            "ResolvConfPath": "/var/lib/docker/containers/8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673/resolv.conf",
            "HostnamePath": "/var/lib/docker/containers/8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673/hostname",
            "HostsPath": "/var/lib/docker/containers/8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673/hosts",
            "LogPath": "/var/lib/docker/containers/8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673/8c47e732abdbd377412086c8fdd55cac4165efb82cd64c6838cd2a94a0996673-json.log",
            "Name": "/jellyfin",
            "RestartCount": 0,
            "Driver": "overlay2",
            "Platform": "linux",
            "MountLabel": "",
            "ProcessLabel": "",
            "AppArmorProfile": "",
            "ExecIDs": null,
            "HostConfig": {
                "Binds": [
                    "/mnt/media:/media",
                    "/mnt/docker/jellyfin/config:/config",
                    "/mnt/docker/jellyfin/cache:/cache"
                ],
                "ContainerIDFile": "",
                "LogConfig": {
                    "Type": "json-file",
                    "Config": {}
                },
                "NetworkMode": "host",
                "PortBindings": {},
                "RestartPolicy": {
                    "Name": "unless-stopped",
                    "MaximumRetryCount": 0
                },
                "AutoRemove": false,
                "VolumeDriver": "",
                "VolumesFrom": null,
                "ConsoleSize": [
                    24,
                    80
                ],
                "CapAdd": null,
                "CapDrop": null,
                "CgroupnsMode": "private",
                "Dns": [],
                "DnsOptions": [],
                "DnsSearch": [],
                "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": [],
                "BlkioDeviceReadBps": [],
                "BlkioDeviceWriteBps": [],
                "BlkioDeviceReadIOps": [],
                "BlkioDeviceWriteIOps": [],
                "CpuPeriod": 0,
                "CpuQuota": 0,
                "CpuRealtimePeriod": 0,
                "CpuRealtimeRuntime": 0,
                "CpusetCpus": "",
                "CpusetMems": "",
                "Devices": [],
                "DeviceCgroupRules": null,
                "DeviceRequests": null,
                "MemoryReservation": 0,
                "MemorySwap": 0,
                "MemorySwappiness": null,
                "OomKillDisable": null,
                "PidsLimit": null,
                "Ulimits": [],
                "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",
                    "/sys/devices/virtual/powercap"
                ],
                "ReadonlyPaths": [
                    "/proc/bus",
                    "/proc/fs",
                    "/proc/irq",
                    "/proc/sys",
                    "/proc/sysrq-trigger"
                ]
            },
            "GraphDriver": {
                "Data": {
                    "LowerDir": "/var/lib/docker/overlay2/14425e1791801e00cd69f142cc14ca505c9927dde0de9669a88e3dcb99da7b1a-init/diff:/var/lib/docker/overlay2/305e2957aa540ceaf0a39afa63bd6ba954cea73dde91d103379afcb6810d6df5/diff:/var/lib/docker/overlay2/4f4d37fd57b3ce245db156744605068b47ebfcf59fae77813157763287b00236/diff:/var/lib/docker/overlay2/d6baed06a965b292dc848f01dfed8f711b39e7065c6a2baa31c191e0976f5c6e/diff:/var/lib/docker/overlay2/ce8da4e1bbf9598e8852aacc6f43b84b0a0cce2244ec193d4c7d80929a9b1271/diff",
                    "MergedDir": "/var/lib/docker/overlay2/14425e1791801e00cd69f142cc14ca505c9927dde0de9669a88e3dcb99da7b1a/merged",
                    "UpperDir": "/var/lib/docker/overlay2/14425e1791801e00cd69f142cc14ca505c9927dde0de9669a88e3dcb99da7b1a/diff",
                    "WorkDir": "/var/lib/docker/overlay2/14425e1791801e00cd69f142cc14ca505c9927dde0de9669a88e3dcb99da7b1a/work"
                },
                "Name": "overlay2"
            },
            "Mounts": [
                {
                    "Type": "bind",
                    "Source": "/mnt/media",
                    "Destination": "/media",
                    "Mode": "",
                    "RW": true,
                    "Propagation": "rprivate"
                },
                {
                    "Type": "bind",
                    "Source": "/mnt/docker/jellyfin/config",
                    "Destination": "/config",
                    "Mode": "",
                    "RW": true,
                    "Propagation": "rprivate"
                },
                {
                    "Type": "bind",
                    "Source": "/mnt/docker/jellyfin/cache",
                    "Destination": "/cache",
                    "Mode": "",
                    "RW": true,
                    "Propagation": "rprivate"
                }
            ],
            "Config": {
                "Hostname": "docker-desktop",
                "Domainname": "",
                "User": "",
                "AttachStdin": false,
                "AttachStdout": false,
                "AttachStderr": false,
                "ExposedPorts": {
                    "8096/tcp": {}
                },
                "Tty": false,
                "OpenStdin": false,
                "StdinOnce": false,
                "Env": [
                    "PUID=1000",
                    "PGID=1000",
                    "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",
                    "MALLOC_TRIM_THRESHOLD_=131072",
                    "NVIDIA_VISIBLE_DEVICES=all",
                    "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility"
                ],
                "Cmd": null,
                "Healthcheck": {
                    "Test": [
                        "CMD-SHELL",
                        "curl -Lk -fsS \"${HEALTHCHECK_URL}\" || exit 1"
                    ],
                    "Interval": 30000000000,
                    "Timeout": 30000000000,
                    "StartPeriod": 10000000000,
                    "Retries": 3
                },
                "Image": "jellyfin/jellyfin",
                "Volumes": {
                    "/cache": {},
                    "/config": {}
                },
                "WorkingDir": "",
                "Entrypoint": [
                    "/jellyfin/jellyfin"
                ],
                "OnBuild": null,
                "Labels": {}
            },
            "NetworkSettings": {
                "Bridge": "",
                "SandboxID": "a0a8acd6cc71e8e2a95390c22a56c2b1319092105fde7557b7f0b64df83d2269",
                "SandboxKey": "/var/run/docker/netns/default",
                "Ports": {},
                "HairpinMode": false,
                "LinkLocalIPv6Address": "",
                "LinkLocalIPv6PrefixLen": 0,
                "SecondaryIPAddresses": null,
                "SecondaryIPv6Addresses": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "MacAddress": "",
                "Networks": {
                    "host": {
                        "IPAMConfig": null,
                        "Links": null,
                        "Aliases": null,
                        "MacAddress": "",
                        "NetworkID": "8b8ca93497bca024bd786cb798f1451637bcef6d8e402cb08b4ea2b814cc1610",
                        "EndpointID": "5923d8fa4902db6b726fd4ddb48d74ec3480fdee2832553d1f762efa1eef6963",
                        "Gateway": "",
                        "IPAddress": "",
                        "IPPrefixLen": 0,
                        "IPv6Gateway": "",
                        "GlobalIPv6Address": "",
                        "GlobalIPv6PrefixLen": 0,
                        "DriverOpts": null,
                        "DNSNames": null
                    }
                }
            }
        }
    ]
    Sorry for the late reply. I got caught up at work.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:12 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:27 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:33 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:40 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:46 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:50 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:43 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:44 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:48 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:48 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:55 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:08 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:02 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:10 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:19 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:21 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:55 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:59 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 10:59 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 01:47 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:08 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by gnattu - 2024-04-04, 02:04 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:11 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:26 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:43 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:45 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:59 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode