https://rancher.com/ logo
Title
v

victorious-insurance-69234

03/21/2023, 7:19 AM
$ docker inspect <http://ghcr.io/k3d-io/k3d-tools:5.4.9|ghcr.io/k3d-io/k3d-tools:5.4.9>
[
    {
        "Id": "sha256:a8c27040a7215ed60e81a628ee859746b9ba56a49d6bd034821a32a909033657",
        "RepoTags": [
            "<http://ghcr.io/k3d-io/k3d-tools:5.4.9|ghcr.io/k3d-io/k3d-tools:5.4.9>"
        ],
        "RepoDigests": [
            "<http://ghcr.io/k3d-io/k3d-tools@sha256:0814db158c5027e1e19b17423ea9473d51cb9d044707aaea926d8c4f61d7843a|ghcr.io/k3d-io/k3d-tools@sha256:0814db158c5027e1e19b17423ea9473d51cb9d044707aaea926d8c4f61d7843a>"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-03-17T05:38:20.016590142Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "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": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/app",
            "Entrypoint": [
                "/app/k3d-tools"
            ],
            "OnBuild": null,
            "Labels": {
                "org.opencontainers.image.created": "2023-03-17T05:35:06.931Z",
                "org.opencontainers.image.description": "Little helper to run CNCF's k3s in Docker",
                "org.opencontainers.image.licenses": "MIT",
                "org.opencontainers.image.revision": "18967282633144120abcf75a3dacc110543cc00c",
                "org.opencontainers.image.source": "<https://github.com/k3d-io/k3d>",
                "org.opencontainers.image.title": "k3d",
                "org.opencontainers.image.url": "<https://github.com/k3d-io/k3d>",
                "org.opencontainers.image.version": "5"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 19671204,
        "VirtualSize": 19671204,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/669645796ca9daf5a8ed3d4682ccbed3da34c022f3467aa61fad614a5079f1c4/diff:/var/lib/docker/overlay2/e3fde4f6583f1447ee0c2a5676b3e7b2402ddc69cdadd696e7958c96fc190a2c/diff:/var/lib/docker/overlay2/e12e7552de51115a0a26ecaf3a21a0b5bfad4a25734de603e304273cb140e027/diff",
                "MergedDir": "/var/lib/docker/overlay2/e92c280f35dfc0bcf78d06b96bbebe0fb1d4c85dbe6f2bfacb8b5096d72913ab/merged",
                "UpperDir": "/var/lib/docker/overlay2/e92c280f35dfc0bcf78d06b96bbebe0fb1d4c85dbe6f2bfacb8b5096d72913ab/diff",
                "WorkDir": "/var/lib/docker/overlay2/e92c280f35dfc0bcf78d06b96bbebe0fb1d4c85dbe6f2bfacb8b5096d72913ab/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:7cd52847ad775a5ddc4b58326cf884beee34544296402c6292ed76474c686d39",
                "sha256:d71d7baaafe0115e02911d2daf8b1ae87ee99965b01ed3547854ae3edce0d479",
                "sha256:20066afd5f4d9b611fcf22207abd70940a838a7f2b73436934daab6384c458e8",
                "sha256:9d10632f2a10bf03aac076d9a95bef1cc3d1d5896279f6091e611799180bb8b5"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]
w

wide-garage-9465

03/21/2023, 8:11 AM
Hey 👋 Do you have some logs from the server container? Also, do you maybe have some firewall (ufw, firewalld, etc) active?
v

victorious-insurance-69234

03/21/2023, 8:16 AM
Nope, no firewall. I don't think this is specifically a
k3d
issue the more I think about it. Docker containers configured to use user defined networks or the default bridge network have broken networking. Published ports don't work, unable to reach other containers, unable to reach the Internet, etc.
Definitely not a k3d issue
very annoying. container veth interfaces aren't automatically being added to the docker0 bridge for some reason