Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to connect to port #16210

Closed
skr3178 opened this issue Nov 23, 2022 · 2 comments
Closed

unable to connect to port #16210

skr3178 opened this issue Nov 23, 2022 · 2 comments

Comments

@skr3178
Copy link

skr3178 commented Nov 23, 2022

I am unable to open on my port this container .
after several hours of trying.

docker run -it -d -p 8081:80/tcp -p 8081:80/udp c495fb086234

where c495fb086234 is the docker image graphein

here is container info

docker inspect -f '' 6b37f028cbc1
[
    {
        "Id": "6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856",
        "Created": "2022-11-23T15:18:47.726851719Z",
        "Path": "bash",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 7777,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2022-11-23T15:18:48.324556714Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:c495fb0862342d656945c850713ccb0b90001a67c39779da4cc704d5be315db8",
        "ResolvConfPath": "/var/lib/docker/containers/6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856/hostname",
        "HostsPath": "/var/lib/docker/containers/6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856/hosts",
        "LogPath": "/var/lib/docker/containers/6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856/6b37f028cbc1aa3ec7e48af20fa24843cde47b24a87ec59951dff5342bcdf856-json.log",
        "Name": "/hardcore_rubin",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8081"
                    }
                ],
                "80/udp": [
                    {
                        "HostIp": "",
                        "HostPort": "8081"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "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",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "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/ff9b654cfb8c84ab07d1d86fd1a21cffb1aa680c99b31bffe385a8ca7948a910-init/diff:/var/lib/docker/overlay2/rr5io5cc9vhdasu4sfwuf1p8x/diff:/var/lib/docker/overlay2/ldopwtlhbdwp5fx9kf0k62mnt/diff:/var/lib/docker/overlay2/ftc7u3ucyq9fll1n5fgp7epmx/diff:/var/lib/docker/overlay2/ylbqnib8v7gnf0f2ecuf1dh2i/diff:/var/lib/docker/overlay2/ikf2a0tbd3ovd62e51mypefme/diff:/var/lib/docker/overlay2/s3zluh3muxocyayfcxmul0wes/diff:/var/lib/docker/overlay2/syqma1vyybiin59wycvlsrir2/diff:/var/lib/docker/overlay2/hwiz8ppbn9j7kg9j49aygwt6e/diff:/var/lib/docker/overlay2/k3zuyreq6dnmw7sz0uiyqi07v/diff:/var/lib/docker/overlay2/ipxlknmofyh5fspfum4hobwcm/diff:/var/lib/docker/overlay2/0nhtvjr8vkava6m482ybga4zn/diff:/var/lib/docker/overlay2/ydopelwsvsozrtivu58lpbpeb/diff:/var/lib/docker/overlay2/vlz462ayuxgsbja7p24gkgez4/diff:/var/lib/docker/overlay2/xv0akvuaqd69vxqxix5hkzlpf/diff:/var/lib/docker/overlay2/yvbxcbn8okxcpm7o8w376bsr5/diff:/var/lib/docker/overlay2/mdrj6v1fp038yr09dfqc3n965/diff:/var/lib/docker/overlay2/xuo2w4texuo1vni0114m8xy2x/diff:/var/lib/docker/overlay2/rfdbq89p9xhju7n3q1rchaltz/diff:/var/lib/docker/overlay2/fuoqyycfhnd04wkvi0vkzoqec/diff:/var/lib/docker/overlay2/j8klfrq8scwxsd6zepgit93cu/diff:/var/lib/docker/overlay2/uvo77eiilt2lkkrdk17i1d1zx/diff:/var/lib/docker/overlay2/590e563e306ac163770c80b1afe4940c7dd888d4823d7698c755d4790fff0b79/diff:/var/lib/docker/overlay2/156e769546ba321b341eff94a8f0282600a3b5f644dad7e90e5083cf9caa0c51/diff:/var/lib/docker/overlay2/1ca15622dbf4beaa49cc4397da61cc31db8bdf429a85622a0baa7db0f157a29d/diff:/var/lib/docker/overlay2/eaf273224c564fdfe1ceec6e54c8fbad468a849b569034e7c657b15ca5e20621/diff",
                "MergedDir": "/var/lib/docker/overlay2/ff9b654cfb8c84ab07d1d86fd1a21cffb1aa680c99b31bffe385a8ca7948a910/merged",
                "UpperDir": "/var/lib/docker/overlay2/ff9b654cfb8c84ab07d1d86fd1a21cffb1aa680c99b31bffe385a8ca7948a910/diff",
                "WorkDir": "/var/lib/docker/overlay2/ff9b654cfb8c84ab07d1d86fd1a21cffb1aa680c99b31bffe385a8ca7948a910/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [],
        "Config": {
            "Hostname": "6b37f028cbc1",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {},
                "80/udp": {}
            },
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": false,
            "Env": [
                "PATH=/getcontacts:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "NVIDIA_VISIBLE_DEVICES=all",
                "NVIDIA_DRIVER_CAPABILITIES=compute,utility",
                "LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
                "PYTORCH_VERSION=v1.9.1",
                "CONDA_ALWAYS_YES=true"
            ],
            "Cmd": [
                "bash"
            ],
            "Image": "c495fb086234",
            "Volumes": null,
            "WorkingDir": "/graphein",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.project": "graphein",
                "com.docker.compose.service": "graphein-cpu",
                "com.docker.compose.version": "2.12.2",
                "com.nvidia.volumes.needed": "nvidia_driver"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "f32dba0ba692018bdfd53094bab1004e58515e3214481c19f0bfcff261c2473a",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "80/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8081"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8081"
                    }
                ],
                "80/udp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8081"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8081"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/f32dba0ba692",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "15d7f5e0fffa96a3b731c57731c26db808baf5b1672b4fba803c571dac7120c0",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "cbb40b31f81f900506aa34289c07dafa5daf69fe0c6d9388ea99993acc22dbf5",
                    "EndpointID": "15d7f5e0fffa96a3b731c57731c26db808baf5b1672b4fba803c571dac7120c0",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]

here is the image info:

docker inspect graphein-cpu
[
    {
        "Id": "sha256:c495fb0862342d656945c850713ccb0b90001a67c39779da4cc704d5be315db8",
        "RepoTags": [
            "graphein-cpu:latest"
        ],
        "RepoDigests": [],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2022-11-23T04:50:34.441974736Z",
        "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=/getcontacts:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "NVIDIA_VISIBLE_DEVICES=all",
                "NVIDIA_DRIVER_CAPABILITIES=compute,utility",
                "LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
                "PYTORCH_VERSION=v1.9.1",
                "CONDA_ALWAYS_YES=true"
            ],
            "Cmd": [
                "bash"
            ],
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/graphein",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.project": "graphein",
                "com.docker.compose.service": "graphein-cpu",
                "com.docker.compose.version": "2.12.2",
                "com.nvidia.volumes.needed": "nvidia_driver"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 12991277833,
        "VirtualSize": 12991277833,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/ldopwtlhbdwp5fx9kf0k62mnt/diff:/var/lib/docker/overlay2/ftc7u3ucyq9fll1n5fgp7epmx/diff:/var/lib/docker/overlay2/ylbqnib8v7gnf0f2ecuf1dh2i/diff:/var/lib/docker/overlay2/ikf2a0tbd3ovd62e51mypefme/diff:/var/lib/docker/overlay2/s3zluh3muxocyayfcxmul0wes/diff:/var/lib/docker/overlay2/syqma1vyybiin59wycvlsrir2/diff:/var/lib/docker/overlay2/hwiz8ppbn9j7kg9j49aygwt6e/diff:/var/lib/docker/overlay2/k3zuyreq6dnmw7sz0uiyqi07v/diff:/var/lib/docker/overlay2/ipxlknmofyh5fspfum4hobwcm/diff:/var/lib/docker/overlay2/0nhtvjr8vkava6m482ybga4zn/diff:/var/lib/docker/overlay2/ydopelwsvsozrtivu58lpbpeb/diff:/var/lib/docker/overlay2/vlz462ayuxgsbja7p24gkgez4/diff:/var/lib/docker/overlay2/xv0akvuaqd69vxqxix5hkzlpf/diff:/var/lib/docker/overlay2/yvbxcbn8okxcpm7o8w376bsr5/diff:/var/lib/docker/overlay2/mdrj6v1fp038yr09dfqc3n965/diff:/var/lib/docker/overlay2/xuo2w4texuo1vni0114m8xy2x/diff:/var/lib/docker/overlay2/rfdbq89p9xhju7n3q1rchaltz/diff:/var/lib/docker/overlay2/fuoqyycfhnd04wkvi0vkzoqec/diff:/var/lib/docker/overlay2/j8klfrq8scwxsd6zepgit93cu/diff:/var/lib/docker/overlay2/uvo77eiilt2lkkrdk17i1d1zx/diff:/var/lib/docker/overlay2/590e563e306ac163770c80b1afe4940c7dd888d4823d7698c755d4790fff0b79/diff:/var/lib/docker/overlay2/156e769546ba321b341eff94a8f0282600a3b5f644dad7e90e5083cf9caa0c51/diff:/var/lib/docker/overlay2/1ca15622dbf4beaa49cc4397da61cc31db8bdf429a85622a0baa7db0f157a29d/diff:/var/lib/docker/overlay2/eaf273224c564fdfe1ceec6e54c8fbad468a849b569034e7c657b15ca5e20621/diff",
                "MergedDir": "/var/lib/docker/overlay2/rr5io5cc9vhdasu4sfwuf1p8x/merged",
                "UpperDir": "/var/lib/docker/overlay2/rr5io5cc9vhdasu4sfwuf1p8x/diff",
                "WorkDir": "/var/lib/docker/overlay2/rr5io5cc9vhdasu4sfwuf1p8x/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:824bf068fd3dc3ad967022f187d85250eb052f61fe158486b2df4e002f6f984e",
                "sha256:dda0c98517ade2e3569164577aa1cee4ca245919fee24e4dfd233419906943a8",
                "sha256:74c0f4ca658153af7342d0cbf20eb2ef9c1887a3181d71381be36e5d409786d2",
                "sha256:ad29709107ca85be7560d448a316ab8150ca23f292547d3c54478f8aa7096191",
                "sha256:6c473e43f2c1ba44295e567e9287905fd74552620ff7be82c49351d5a690a7bf",
                "sha256:8c2b75e9ec6f2edbaf5fbb516007e8ac19f5f30cddb79aa734065b30c45999e0",
                "sha256:b3a5d5f3df9cc8f2507cca8911d00596ccd9edaaf9222a89e44a4c1562c8d09b",
                "sha256:3c5dc0a87aa27433add099908c58cca53c92cc554b66d0d51df04558bc6f4078",
                "sha256:c84fe3e3a6082c602a424596abf8cfebab68ea081fcc484296e9db3368b4a754",
                "sha256:7af7176db01b49d7c9ea6303825c87d507803177f5c57f0de214ca27bd6a2be9",
                "sha256:c452734dd391e0895302e07f35b1f0525164c90dc518887b99eab64bc4ca74b5",
                "sha256:d3c1804e49e32b5e3379e24d07100163d1312a528021af4c80f64c1b096a4f43",
                "sha256:741611e841f199e9f790251ea138b4e8fd7bdc422649504be711f4da5769fd49",
                "sha256:7ec4840e7d52a86132ae7fd40a7f5a702f4c6b7e562c88dcd46ec68c44a078b5",
                "sha256:7f8dabbc4926a202149c0410e94a768f5a0431a16626584283005360afb31990",
                "sha256:28cc37241ddb982ce3efd7a3949edf67206d738936f82b816ed05fee8ce17f2d",
                "sha256:e84ef4809b0cbd00bd2b8e4b669b5eae40353caf9ae82d9b3468e64d28a77989",
                "sha256:d3d4891d3b9e3be622a47de5a02c7dea1769ea305f672bf7b09713998fee042a",
                "sha256:ea5a113080f7762bfd20ec6761e22022ba0e84028d7a0b65dd8a506790eb8ebd",
                "sha256:407a6e07623127df69112f7e2260d26a0b2ff0da4217030bdaec17c6ce9306ac",
                "sha256:41d333560897e7dc477e11ae4dfc87c810acc91483fa1d6028461a53137c3117",
                "sha256:d3f587420736dfe693f3e3e15fc498bbf94a8d35f4d50331b173fb8836b9d87c",
                "sha256:8a0dab6b57e066ea6df9995df4e65f33c9b4ba5c48c188045839d9402588003e",
                "sha256:1f0120c72db9f59234812393616871810493c171f068ce9fa3b944e1b49ad5ff",
                "sha256:cd50c40a109a44c88e8862be74016753a72c8eb1249f739799c7f2e5f0148967"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]
@craig-osterhout
Copy link
Contributor

Thanks for sharing the issue. This repo is only for docs.docker.com related items. For troubleshooting you can try to contact the image creator or try the Docker Community Slack at https://join.slack.com/t/dockercommunity/shared_invite/zt-1jz09gjit-P2NPysg99kiWExFfof0oBA

@craig-osterhout craig-osterhout closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2022
@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants