Docker Community Forums

Share and learn in the Docker community.

Container running, but cannot be found in browser

Hello,

I already used google, but have not found a solution.

Yesterday I installed my first docker container which was provided by others:

Everything was working fine after installation and I could access the container using chrome via localhost:8080.

Today I started the computer and docker also started automatically the container.
Sadly the container is not accessible in the browser anymore and I could not find out why or how so solve it.

Using docker container ls I get:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8abdab23f841 cvat “/usr/bin/supervisord” 15 hours ago Up 7 seconds 0.0.0.0:8080->8080/tcp, 8443/tcp cvat
74b09a602ebe redis:4.0.5-alpine “docker-entrypoint.s…” 15 hours ago Up 7 seconds 6379/tcp cvat_redis
f42b86da39c6 postgres:10.3-alpine “docker-entrypoint.s…” 15 hours ago Up 7 seconds 5432/tcp cvat_db

docker inspect cvat deliveres:

[
{
    "Id": "8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9",
    "Created": "2019-07-15T14:34:01.3120561Z",
    "Path": "/usr/bin/supervisord",
    "Args": [],
    "State": {
        "Status": "running",
        "Running": true,
        "Paused": false,
        "Restarting": false,
        "OOMKilled": false,
        "Dead": false,
        "Pid": 2634,
        "ExitCode": 0,
        "Error": "",
        "StartedAt": "2019-07-16T05:56:11.6483176Z",
        "FinishedAt": "2019-07-16T05:56:06.8919322Z"
    },
    "Image": "sha256:b5fbb370c39caf0ac8f4ae54dd93e0d026d395440341562ea9b94cc52a0d2925",
    "ResolvConfPath": "/var/lib/docker/containers/8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9/resolv.conf",
    "HostnamePath": "/var/lib/docker/containers/8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9/hostname",
    "HostsPath": "/var/lib/docker/containers/8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9/hosts",
    "LogPath": "/var/lib/docker/containers/8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9/8abdab23f841f5429c2ab514dd7cabe5353b3bf26e72a67534a26108116c82d9-json.log",
    "Name": "/cvat",
    "RestartCount": 0,
    "Driver": "overlay2",
    "Platform": "linux",
    "MountLabel": "",
    "ProcessLabel": "",
    "AppArmorProfile": "",
    "ExecIDs": null,
    "HostConfig": {
        "Binds": [
            "cvat_cvat_data:/home/django/data:rw",
            "cvat_cvat_models:/home/django/models:rw",
            "cvat_cvat_logs:/home/django/logs:rw",
            "cvat_cvat_keys:/home/django/keys:rw"
        ],
        "ContainerIDFile": "",
        "LogConfig": {
            "Type": "json-file",
            "Config": {}
        },
        "NetworkMode": "cvat_default",
        "PortBindings": {
            "8080/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "8080"
                }
            ]
        },
        "RestartPolicy": {
            "Name": "always",
            "MaximumRetryCount": 0
        },
        "AutoRemove": false,
        "VolumeDriver": "",
        "VolumesFrom": [],
        "CapAdd": null,
        "CapDrop": null,
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "ExtraHosts": null,
        "GroupAdd": null,
        "IpcMode": "shareable",
        "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": null,
        "BlkioDeviceReadBps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteIOps": null,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "Devices": null,
        "DeviceCgroupRules": null,
        "DiskQuota": 0,
        "KernelMemory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "OomKillDisable": false,
        "PidsLimit": 0,
        "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/b8c66ecd10357856129ebd117d795b8d64e8f933a147878591bccdb497101db6-init/diff:/var/lib/docker/overlay2/a6654bb593647ca8a4e06b7a1c9d44ba82cf4ab893c9482d68e3aedd721cec5d/diff:/var/lib/docker/overlay2/437d45e9b3891c1cf5037c441f0a9ea24a7d8f2fa9ce4e009c61b6587d788ea2/diff:/var/lib/docker/overlay2/9f7474e44543ced1cfacef6b84263e4abe8259854a6f5042ec4976f9906bf4a4/diff:/var/lib/docker/overlay2/f6754d2ac79b3e0fe7c59198cad0bbf6ce436896fe74c4d6f3db1d3bb6e79e33/diff:/var/lib/docker/overlay2/9ff74b46a4ebda12be813157466ba924e57e91f1b04731caf198335c2308b7d3/diff:/var/lib/docker/overlay2/edb47b95d063ac93af9ed2f84143382c11060593213dc10f01ea631e9b9c6b50/diff:/var/lib/docker/overlay2/ad9d8335c172941fabae9dd446b0b1dbd0f2fcfdc40e862e4c1cc4c69746fe26/diff:/var/lib/docker/overlay2/0c3cdb08c252f4e9fb6a2cc4f792fe1b0726701d114965bfd10ccd5cbbb6699b/diff:/var/lib/docker/overlay2/9482af42ea501de53c8275f70b949176496391470da1df6f91f6cea393d8448d/diff:/var/lib/docker/overlay2/9d95dd7913188639431c03542f722f8926e705a3c8e2ba84ebe6bc37c6a1b9c4/diff:/var/lib/docker/overlay2/e3325c8c01849416bb4366ba96c1ef274f4fd05fd34cd6e5674d414f62eae2c9/diff:/var/lib/docker/overlay2/852968f1b53b4fdc4e39191ea376fd8110cd21fca2cc9af922d99d1b8227aa4e/diff:/var/lib/docker/overlay2/9607988d763d058f236e94405be9f3c6993e1315bb63f2960dcba9ddc691815b/diff:/var/lib/docker/overlay2/5fbeaea72961c5652234e309c9574b5f0ef5b9f24d777928ffa865c2e5e87295/diff:/var/lib/docker/overlay2/0dfb13c2f8a4d719cda6ae46f5acc9617227ae84443b056b7245b7a561531a6e/diff:/var/lib/docker/overlay2/b1dc3e1fef317577a89bc8bf19b759f6922a53258732fe485c6091dd35d0ccb0/diff:/var/lib/docker/overlay2/dfb4aefa68db064bf1e35b8bf1d1b0633430b25acac0e102fbcc6403f504c1d0/diff:/var/lib/docker/overlay2/0c4612b4b62d06afb20825e2b06977188e996c07aae09a9bbd9c19847d959b10/diff:/var/lib/docker/overlay2/721ae6b1bab789e36bad1915e3ab8b2ad35b8d7e67ba96ad7bc9eca9e5925ed3/diff",
            "MergedDir": "/var/lib/docker/overlay2/b8c66ecd10357856129ebd117d795b8d64e8f933a147878591bccdb497101db6/merged",
            "UpperDir": "/var/lib/docker/overlay2/b8c66ecd10357856129ebd117d795b8d64e8f933a147878591bccdb497101db6/diff",
            "WorkDir": "/var/lib/docker/overlay2/b8c66ecd10357856129ebd117d795b8d64e8f933a147878591bccdb497101db6/work"
        },
        "Name": "overlay2"
    },
    "Mounts": [
        {
            "Type": "volume",
            "Name": "cvat_cvat_data",
            "Source": "/var/lib/docker/volumes/cvat_cvat_data/_data",
            "Destination": "/home/django/data",
            "Driver": "local",
            "Mode": "rw",
            "RW": true,
            "Propagation": ""
        },
        {
            "Type": "volume",
            "Name": "cvat_cvat_keys",
            "Source": "/var/lib/docker/volumes/cvat_cvat_keys/_data",
            "Destination": "/home/django/keys",
            "Driver": "local",
            "Mode": "rw",
            "RW": true,
            "Propagation": ""
        },
        {
            "Type": "volume",
            "Name": "cvat_cvat_logs",
            "Source": "/var/lib/docker/volumes/cvat_cvat_logs/_data",
            "Destination": "/home/django/logs",
            "Driver": "local",
            "Mode": "rw",
            "RW": true,
            "Propagation": ""
        },
        {
            "Type": "volume",
            "Name": "cvat_cvat_models",
            "Source": "/var/lib/docker/volumes/cvat_cvat_models/_data",
            "Destination": "/home/django/models",
            "Driver": "local",
            "Mode": "rw",
            "RW": true,
            "Propagation": ""
        }
    ],
    "Config": {
        "Hostname": "8abdab23f841",
        "Domainname": "",
        "User": "django",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {},
            "8443/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "DJANGO_MODWSGI_EXTRA_ARGS=",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "TERM=xterm",
            "http_proxy=",
            "https_proxy=",
            "no_proxy=",
            "socks_proxy=",
            "LANG=C.UTF-8",
            "LC_ALL=C.UTF-8",
            "DJANGO_CONFIGURATION=production",
            "USER=django",
            "HOME=/home/django",
            "OPENVINO_TOOLKIT=",
            "CUDA_SUPPORT=",
            "TF_ANNOTATION=no",
            "TF_ANNOTATION_MODEL_PATH=/home/django/rcnn/inference_graph",
            "REID_MODEL_DIR=/home/django/reid",
            "WITH_DEXTR=",
            "DEXTR_MODEL_DIR=/home/django/dextr"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "cvat",
        "Volumes": {
            "/home/django/data": {},
            "/home/django/keys": {},
            "/home/django/logs": {},
            "/home/django/models": {}
        },
        "WorkingDir": "/home/django",
        "Entrypoint": [
            "/usr/bin/supervisord"
        ],
        "OnBuild": null,
        "Labels": {
            "com.docker.compose.config-hash": "4a9e46412c5b958223a72a661d0be9bdc85cfcb46920a4a7b603f544f4e821cd",
            "com.docker.compose.container-number": "1",
            "com.docker.compose.oneoff": "False",
            "com.docker.compose.project": "cvat",
            "com.docker.compose.service": "cvat",
            "com.docker.compose.version": "1.23.2"
        }
    },
    "NetworkSettings": {
        "Bridge": "",
        "SandboxID": "c443e2034175e471f9e888fb8a07e5a32b7b48a8f0c3de863764782358b8cf35",
        "HairpinMode": false,
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "Ports": {
            "8080/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "8080"
                }
            ],
            "8443/tcp": null
        },
        "SandboxKey": "/var/run/docker/netns/c443e2034175",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null,
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "MacAddress": "",
        "Networks": {
            "cvat_default": {
                "IPAMConfig": null,
                "Links": null,
                "Aliases": [
                    "8abdab23f841",
                    "cvat"
                ],
                "NetworkID": "52d25ef180f619e82c19af449ac6f164048fbe14f4e82f2c4ca47a6087c6a222",
                "EndpointID": "38526be4db1b646ab7b1d9b1c060d3b9b49f55adeecc90bb5e3447b149660336",
                "Gateway": "172.18.0.1",
                "IPAddress": "172.18.0.4",
                "IPPrefixLen": 16,
                "IPv6Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "MacAddress": "02:42:ac:12:00:04",
                "DriverOpts": null
            }
        }
    }
}

]

Do you have any idea how to solve the problem?

Thank you very much!