Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug] Unable to start container #231

Open
gonzalu opened this issue Mar 12, 2024 · 5 comments
Open

[Bug] Unable to start container #231

gonzalu opened this issue Mar 12, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@gonzalu
Copy link

gonzalu commented Mar 12, 2024

Current Behavior

Container fails to start. Last few lines from docker compose are below:

firefox-firefox-1  |     ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     │ Application:           Firefox                                       │
firefox-firefox-1  |     │ Application Version:   120.0.1-r0                                    │
firefox-firefox-1  |     │ Docker Image Version:  24.01.1                                       │
firefox-firefox-1  |     │ Docker Image Platform: linux/amd64                                   │
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
firefox-firefox-1  | [cont-init   ] 89-info.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] all container initialization scripts executed.
firefox-firefox-1  | [init        ] giving control to process supervisor.
firefox-firefox-1  | [supervisor  ] loading services...
firefox-firefox-1  | [supervisor  ] loading service 'default'...
firefox-firefox-1  | [supervisor  ] loading service 'app'...
firefox-firefox-1  | [supervisor  ] loading service 'gui'...
firefox-firefox-1  | [supervisor  ] loading service 'certsmonitor'...
firefox-firefox-1  | [supervisor  ] service 'certsmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'nginx'...
firefox-firefox-1  | [supervisor  ] loading service 'xvnc'...
firefox-firefox-1  | [supervisor  ] loading service 'openbox'...
firefox-firefox-1  | [supervisor  ] loading service 'logmonitor'...
firefox-firefox-1  | [supervisor  ] service 'logmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'logrotate'...
firefox-firefox-1  | [supervisor  ] all services loaded.
firefox-firefox-1  | [supervisor  ] starting services...
firefox-firefox-1  | [supervisor  ] starting service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
firefox-firefox-1  | [supervisor  ] stopping service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' exited (got signal SIGKILL).
firefox-firefox-1  | [finish      ] executing container finish scripts...
firefox-firefox-1  | [finish      ] all container finish scripts executed.
firefox-firefox-1 exited with code 1

I have removed container, deleted image, also checked to make sure port 5800 is not being used.

Expected Behavior

Expected container to run as it has in the past

Steps To Reproduce

docker compose up

Environment

NAME="Red Hat Enterprise Linux"
VERSION="8.8 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.8 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"

Container creation

docker-compose.yml
version: '3'
services:
firefox:
image: jlesage/firefox
ports:
- "5800:5800"
volumes:
- "/docker/appdata/firefox:/config:rw"

Container log

firefox-firefox-1  | [cont-init   ] 85-take-config-ownership.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 89-info.sh: executing...
firefox-firefox-1  |     ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     │ Application:           Firefox                                       │
firefox-firefox-1  |     │ Application Version:   120.0.1-r0                                    │
firefox-firefox-1  |     │ Docker Image Version:  24.01.1                                       │
firefox-firefox-1  |     │ Docker Image Platform: linux/amd64                                   │
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
firefox-firefox-1  | [cont-init   ] 89-info.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] all container initialization scripts executed.
firefox-firefox-1  | [init        ] giving control to process supervisor.
firefox-firefox-1  | [supervisor  ] loading services...
firefox-firefox-1  | [supervisor  ] loading service 'default'...
firefox-firefox-1  | [supervisor  ] loading service 'app'...
firefox-firefox-1  | [supervisor  ] loading service 'gui'...
firefox-firefox-1  | [supervisor  ] loading service 'certsmonitor'...
firefox-firefox-1  | [supervisor  ] service 'certsmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'nginx'...
firefox-firefox-1  | [supervisor  ] loading service 'xvnc'...
firefox-firefox-1  | [supervisor  ] loading service 'openbox'...
firefox-firefox-1  | [supervisor  ] loading service 'logmonitor'...
firefox-firefox-1  | [supervisor  ] service 'logmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'logrotate'...
firefox-firefox-1  | [supervisor  ] all services loaded.
firefox-firefox-1  | [supervisor  ] starting services...
firefox-firefox-1  | [supervisor  ] starting service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
firefox-firefox-1  | [supervisor  ] stopping service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' exited (got signal SIGKILL).
firefox-firefox-1  | [finish      ] executing container finish scripts...
firefox-firefox-1  | [finish      ] all container finish scripts executed.
firefox-firefox-1  | [init        ] container is starting...
firefox-firefox-1  | [cont-env    ] loading container environment variables...
firefox-firefox-1  | [cont-env    ] APP_NAME: loading...
firefox-firefox-1  | [cont-env    ] APP_VERSION: loading...
firefox-firefox-1  | [cont-env    ] DISPLAY: executing...
firefox-firefox-1  | [cont-env    ] DISPLAY: terminated successfully.
firefox-firefox-1  | [cont-env    ] DISPLAY: loading...
firefox-firefox-1  | [cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
firefox-firefox-1  | [cont-env    ] DOCKER_IMAGE_VERSION: loading...
firefox-firefox-1  | [cont-env    ] GTK2_RC_FILES: executing...
firefox-firefox-1  | [cont-env    ] GTK2_RC_FILES: terminated successfully.
firefox-firefox-1  | [cont-env    ] GTK2_RC_FILES: loading...
firefox-firefox-1  | [cont-env    ] GTK_THEME: executing...
firefox-firefox-1  | [cont-env    ] GTK_THEME: terminated successfully.
firefox-firefox-1  | [cont-env    ] GTK_THEME: loading...
firefox-firefox-1  | [cont-env    ] HOME: loading...
firefox-firefox-1  | [cont-env    ] QT_STYLE_OVERRIDE: executing...
firefox-firefox-1  | [cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
firefox-firefox-1  | [cont-env    ] QT_STYLE_OVERRIDE: loading...
firefox-firefox-1  | [cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
firefox-firefox-1  | [cont-env    ] XDG_CACHE_HOME: loading...
firefox-firefox-1  | [cont-env    ] XDG_CONFIG_HOME: loading...
firefox-firefox-1  | [cont-env    ] XDG_DATA_HOME: loading...
firefox-firefox-1  | [cont-env    ] XDG_RUNTIME_DIR: loading...
firefox-firefox-1  | [cont-env    ] XDG_STATE_HOME: loading...
firefox-firefox-1  | [cont-env    ] container environment variables initialized.
firefox-firefox-1  | [cont-secrets] loading container secrets...
firefox-firefox-1  | [cont-secrets] container secrets loaded.
firefox-firefox-1  | [cont-init   ] executing container initialization scripts...
firefox-firefox-1  | [cont-init   ] 10-certs.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-certs.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-check-app-niceness.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-check-app-niceness.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-clean-logmonitor-states.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-clean-tmp-dir.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-fontconfig-cache-dir.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-init-users.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-init-users.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-nginx.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-nginx.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-openbox.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-openbox.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-pkgs-mirror.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-set-tmp-dir-perms.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-vnc-password.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-vnc-password.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-web-data.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-web-data.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-x11-unix.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-x11-unix.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 10-xdg-runtime-dir.sh: executing...
firefox-firefox-1  | [cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 15-cjk-font.sh: executing...
firefox-firefox-1  | [cont-init   ] 15-cjk-font.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 15-install-pkgs.sh: executing...
firefox-firefox-1  | [cont-init   ] 15-install-pkgs.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 55-check-snd.sh: executing...
firefox-firefox-1  | [cont-init   ] 55-check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
firefox-firefox-1  | [cont-init   ] 55-check-snd.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 55-firefox.sh: executing...
firefox-firefox-1  | [cont-init   ] 55-firefox.sh: generating machine-id...
firefox-firefox-1  | [cont-init   ] 55-firefox.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 56-firefox-set-prefs-from-env.sh: executing...
firefox-firefox-1  | [cont-init   ] 56-firefox-set-prefs-from-env.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 85-take-config-ownership.sh: executing...
firefox-firefox-1  | [cont-init   ] 85-take-config-ownership.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] 89-info.sh: executing...
firefox-firefox-1  |     ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     │ Application:           Firefox                                       │
firefox-firefox-1  |     │ Application Version:   120.0.1-r0                                    │
firefox-firefox-1  |     │ Docker Image Version:  24.01.1                                       │
firefox-firefox-1  |     │ Docker Image Platform: linux/amd64                                   │
firefox-firefox-1  |     │                                                                      │
firefox-firefox-1  |     ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
firefox-firefox-1  | [cont-init   ] 89-info.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] all container initialization scripts executed.
firefox-firefox-1  | [init        ] giving control to process supervisor.
firefox-firefox-1  | [supervisor  ] loading services...
firefox-firefox-1  | [supervisor  ] loading service 'default'...
firefox-firefox-1  | [supervisor  ] loading service 'app'...
firefox-firefox-1  | [supervisor  ] loading service 'gui'...
firefox-firefox-1  | [supervisor  ] loading service 'certsmonitor'...
firefox-firefox-1  | [supervisor  ] service 'certsmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'nginx'...
firefox-firefox-1  | [supervisor  ] loading service 'xvnc'...
firefox-firefox-1  | [supervisor  ] loading service 'openbox'...
firefox-firefox-1  | [supervisor  ] loading service 'logmonitor'...
firefox-firefox-1  | [supervisor  ] service 'logmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'logrotate'...
firefox-firefox-1  | [supervisor  ] all services loaded.
firefox-firefox-1  | [supervisor  ] starting services...
firefox-firefox-1  | [supervisor  ] starting service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
firefox-firefox-1  | [supervisor  ] stopping service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' exited (got signal SIGKILL).
firefox-firefox-1  | [finish      ] executing container finish scripts...
firefox-firefox-1  | [finish      ] all container finish scripts executed.

Container inspect

],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/firefox",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "5cf128639c112db2b5e22a03c66853ad4c4bee097d98b70875f4ff0dbf1ca0a2",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:601d6347b3e8feff5ce1c964fcf6e1acda06322b2f8bf816964a96a673c47416",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "firefox",
                "com.docker.compose.project.config_files": "/home/mangonzale@montefiore.org/firefox/docker-compose.yml",
                "com.docker.compose.project.working_dir": "/home/mangonzale@montefiore.org/firefox",
                "com.docker.compose.service": "firefox",
                "com.docker.compose.version": "2.2.3",
                "org.label-schema.description": "Docker container for Firefox",
                "org.label-schema.name": "firefox",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-firefox",
                "org.label-schema.version": "24.01.1"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "465262e23da4407289fa8f92c6e308434829cb6245610a00183e407d712b569c",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/465262e23da4",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "firefox_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "firefox-firefox-1",
                        "firefox",
                        "14dae0715a31"
                    ],
                    "NetworkID": "1d0d0304247100ed7cfb11487d532206d0dba95147f428fcf0833a1b86e9ecd8",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]
[mangonzale@ODCNCCVLP09 firefox]$ clear
[mangonzale@ODCNCCVLP09 firefox]$ docker inspect firefox-firefox-1 
[
    {
        "Id": "14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1",
        "Created": "2024-03-12T14:40:21.636152637Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 1,
            "Error": "",
            "StartedAt": "2024-03-12T14:45:32.001081222Z",
            "FinishedAt": "2024-03-12T14:45:38.718016812Z"
        },
        "Image": "sha256:601d6347b3e8feff5ce1c964fcf6e1acda06322b2f8bf816964a96a673c47416",
        "ResolvConfPath": "/var/lib/docker/containers/14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1/hostname",
        "HostsPath": "/var/lib/docker/containers/14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1/hosts",
        "LogPath": "/var/lib/docker/containers/14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1/14dae0715a31ae52c6cd2c3e612fba1becd499e93cca82f5aa26e11cf98f81a1-json.log",
        "Name": "/firefox-firefox-1",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/docker/appdata/firefox:/config:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "firefox_default",
            "PortBindings": {
                "5800/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "5800"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "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": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "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",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/897142a86da21f126c3876e4e1214aaadc43f0558687c2c692d8c77ed5fb3a86-init/diff:/var/lib/docker/overlay2/d1918b25250dc5896cb120e060d9f7a0879dfbe18e7967df9ea372fc1f55a49b/diff:/var/lib/docker/overlay2/536f7fb8ebfcb37183f74307594503982baa8f75e2ff8e8ebbfd4ee1133fbfaf/diff:/var/lib/docker/overlay2/4026e4721b0302167bc019eae915650a883123f7f547881a3742bf03825cffed/diff:/var/lib/docker/overlay2/a5bcd821bc9f33de59dd092195e8f754c417bc2e7e4a595bedcea4ecffcb0646/diff:/var/lib/docker/overlay2/058f8d63872601422cabc4f2ccf7ddd6fc90ed664f4f0ef0d65793e5bac98ee8/diff:/var/lib/docker/overlay2/eceac1d41787ef6eacf74a31c80303157572a8ee4c346dd8fc84957015da205e/diff:/var/lib/docker/overlay2/a24e6c49de2d70968e222bacaf52c27842cb7521f835eda08f9f2d81255eb207/diff:/var/lib/docker/overlay2/2528bd60465da40a7a58aad5c0198a16482865971c66938d1d90f6c241531b56/diff:/var/lib/docker/overlay2/497be5d5db3d9adf7ae9f4e284a291e6a4c9a8bebc6ac2d84d824aa3049b8a1e/diff:/var/lib/docker/overlay2/03484b8628d2d08d937e8931e99727aa2c6bc9628d880ef44fd4971ab61273c2/diff:/var/lib/docker/overlay2/c1eec64cf7b58aec82db31e24d2b95a29213e15f5967596ce078349a74ac04a4/diff:/var/lib/docker/overlay2/03aed5d131b58e9f945eb3c403e9dd64abbdcef992c6b78700d123948858429d/diff:/var/lib/docker/overlay2/8e6ad99beee5896f90d3d8a367ea05d55c508d827718ccb3e52f7454bbbfcf7d/diff:/var/lib/docker/overlay2/fe490b6891552cdf0d1a276bae5e24c06bf0b3af353b6d2fc7fea626b50c8c85/diff:/var/lib/docker/overlay2/0c1c5d3bfc79fbabece882da1f3a3b1685cd6a250ef53aa6591db0b6fcf86a73/diff:/var/lib/docker/overlay2/6aa9485d12f5aa82e25144c6b41b5e09c7a7cf0c93497bf2d06238dc72a752d7/diff:/var/lib/docker/overlay2/a736ea8c5959592fb67fb4a442a0ce0f846a446c4663a28422ec8d92889ad4d0/diff:/var/lib/docker/overlay2/64b5f01002536270db24ec9d1962ca08d1ed0cdaac835e54413eee9f65a5912e/diff:/var/lib/docker/overlay2/842163cab74d982c6a49bf0c7ebb5fe2d58544ffd0c11e34741e6637736363bb/diff:/var/lib/docker/overlay2/14d7d16677407776952c359e570922efc46326d7d828e3350ecb6c6b6ffd0e0b/diff:/var/lib/docker/overlay2/3b4a7b84420e5dacf3fe5c3c1bb2aed9c0e804670096ccf968bbc5d3c0685d3a/diff:/var/lib/docker/overlay2/8c697a4c648294a15205e57b624b6c25c8789319f55f6fa89c902d016b5c6ef3/diff:/var/lib/docker/overlay2/9d128d88a8fcc032aab248a9941c6c4f3f6c40752bb3c409fe81bb034d6598eb/diff:/var/lib/docker/overlay2/823c506e9bd5c3acb2402f63b83048d1b5a95b24e45ce86807a9b17d10017636/diff:/var/lib/docker/overlay2/b4dc97e534dca4ee01a2de81a49e0412378c54121f53b527e5ed1bb2e9c6c261/diff:/var/lib/docker/overlay2/9a8f134ba53597554c706ad364ec93b1c5128451ddccbbf0d675381ad8c49e0e/diff:/var/lib/docker/overlay2/5d572024564f98166c850227d90c5f32cf96cd7912ed3f73e0eb737760b48dde/diff:/var/lib/docker/overlay2/f58ba86b781bcb4979c99f9aa852c66fda08f6720814559f659e0c096de5e943/diff:/var/lib/docker/overlay2/df8710d6ee9c90e1b3d8a86cd2e2b3998f425d96ce67b34dde2e5530656603fa/diff:/var/lib/docker/overlay2/20e1d00488517f4a675bb705d570f23afd7db1cf3105b29552791bcc6d3a22e7/diff:/var/lib/docker/overlay2/09680557ea57cb74a177ccdb7bcf573afc2dfd1e63958c07f4ed78272e9b4a4b/diff:/var/lib/docker/overlay2/c01914c359bfaa2e155e59d74f5db8625b7e0a425e4ca182f61221a1c6f09e02/diff:/var/lib/docker/overlay2/ee5de0f660c9c8c9ad6ce266f344349e648fdb3384cce378d86ba35da99c021b/diff:/var/lib/docker/overlay2/213e60e69d94710c5e1c4483cf81f062607353774545c5e31ca73915d9da5d2f/diff:/var/lib/docker/overlay2/25a2637e1d523218334ac5e1ce1ec9274aa93b429899c86d45d83f5e330a1609/diff:/var/lib/docker/overlay2/c76cba2b205b7d094809ff0e6aa63d29ee7f646abbaa0575897b12ff15d959f6/diff",
                "MergedDir": "/var/lib/docker/overlay2/897142a86da21f126c3876e4e1214aaadc43f0558687c2c692d8c77ed5fb3a86/merged",
                "UpperDir": "/var/lib/docker/overlay2/897142a86da21f126c3876e4e1214aaadc43f0558687c2c692d8c77ed5fb3a86/diff",
                "WorkDir": "/var/lib/docker/overlay2/897142a86da21f126c3876e4e1214aaadc43f0558687c2c692d8c77ed5fb3a86/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/docker/appdata/firefox",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "14dae0715a31",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "USER_ID=1000",
                "GROUP_ID=1000",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "TZ=Etc/UTC",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "PACKAGES_MIRROR=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=0",
                "SECURE_CONNECTION=0",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0",
                "FF_OPEN_URL=",
                "FF_KIOSK=0"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/firefox",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "5cf128639c112db2b5e22a03c66853ad4c4bee097d98b70875f4ff0dbf1ca0a2",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:601d6347b3e8feff5ce1c964fcf6e1acda06322b2f8bf816964a96a673c47416",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "firefox",
                "com.docker.compose.project.config_files": "/home/mangonzale@montefiore.org/firefox/docker-compose.yml",
                "com.docker.compose.project.working_dir": "/home/mangonzale@montefiore.org/firefox",
                "com.docker.compose.service": "firefox",
                "com.docker.compose.version": "2.2.3",
                "org.label-schema.description": "Docker container for Firefox",
                "org.label-schema.name": "firefox",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-firefox",
                "org.label-schema.version": "24.01.1"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "465262e23da4407289fa8f92c6e308434829cb6245610a00183e407d712b569c",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/465262e23da4",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "firefox_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "firefox-firefox-1",
                        "firefox",
                        "14dae0715a31"
                    ],
                    "NetworkID": "1d0d0304247100ed7cfb11487d532206d0dba95147f428fcf0833a1b86e9ecd8",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]
[mangonzale@ODCNCCVLP09 firefox]$

Anything else?

No response

@gonzalu gonzalu added the bug Something isn't working label Mar 12, 2024
@jlesage
Copy link
Owner

jlesage commented Mar 17, 2024

Are you using a specific network for the container ? Do you have the same issue if you use the default, bridge network ?

@lucastheisen
Copy link

lucastheisen commented Jul 10, 2024

I hit the same problem

$ docker run --env USER_ID="$(id -u)" --env GROUP_ID="$(id -g)" --env SECURE_CONNECTION=1 --env WEB_AUTHENTICATION=1 --env WEB_AUTHENTICATION_USERNAME --env WEB_AUTHENTICATION_PASSWORD --name ffproxy --publish 5800:5800 --shm-size 2g --volume /home/ltheisen/.local/share/firefox:/config:rw --add-host example.com:10.51.133.133 --add-host analytics.example.com:10.51.133.133 --add-host portal.example.com:10.51.133.133 --add-host sso.example.com:10.51.133.133 --add-host support.example.com:10.51.133.133 --add-host viz.example.com:10.51.133.133 docker.io/jlesage/firefox

...

[supervisor  ] starting services...
[supervisor  ] starting service 'webauth'...
[supervisor  ] starting service 'xvnc'...
[supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
...

Is there a place to find more detail on this failure? I am using the default network.

Worth noting, i found another issue in one of the other jlesage projects that seemed similar so thought it may be a base image related thing. That issue made it sound like the config mount could have gotten corrupted, so i tried deleting and recreating it, which failed in the same fashion. I also tried leaving off the config volume mount altogether, which failed with a different error:

$ docker run --env USER_ID="$(id -u)" --env GROUP_ID="$(id -g)" --env SECURE_CONNECTION=1 --env WEB_AUTHENTICATION=1 --env WEB_AUTHENTICATION_USERNAME --env WEB_AUTHENTICATION_PASSWORD --name ffproxy --publish 5800:5800 --shm-size 2g --add-host example.com:10.51.133.133 --add-host analytics.example.com:10.51.133.133 --add-host portal.example.com:10.51.133.133 --add-host sso.example.com:10.51.133.133 --add-host support.example.com:10.51.133.133 --add-host viz.example.com:10.51.133.133 docker.io/jlesage/firefox
...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Jun 29 2024 04:32:59
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Wed Jul 10 15:27:57 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTPs connections on port 5800.
[supervisor  ] starting service 'openbox'...
[openbox     ] Openbox-Message: Failed to open the display from the DISPLAY environment variable.
[supervisor  ] service 'openbox' failed to be started: not ready after 5000 msec, giving up.
...

And the most minimal:

$ docker run --name foo --publish 5800:5800 docker.io/jlesage/firefox
...
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
...

@Verwundert
Copy link

I had this problem too!
WEB_AUTHENTICATION must be 0 then it works.
I am using VNC_PASSWORD but not WEB_AUTHENTICATION

@gonzalu
Copy link
Author

gonzalu commented Jul 13, 2024

Keep getting this error and the container will not stay up :(


firefox-firefox-1  | [cont-init   ] 89-info.sh: terminated successfully.
firefox-firefox-1  | [cont-init   ] all container initialization scripts executed.
firefox-firefox-1  | [init        ] giving control to process supervisor.
firefox-firefox-1  | [supervisor  ] loading services...
firefox-firefox-1  | [supervisor  ] loading service 'default'...
firefox-firefox-1  | [supervisor  ] loading service 'app'...
firefox-firefox-1  | [supervisor  ] loading service 'gui'...
firefox-firefox-1  | [supervisor  ] loading service 'audiorecorder'...
firefox-firefox-1  | [supervisor  ] service 'audiorecorder' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'certsmonitor'...
firefox-firefox-1  | [supervisor  ] service 'certsmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'nginx'...
firefox-firefox-1  | [supervisor  ] loading service 'webauth'...
firefox-firefox-1  | [supervisor  ] service 'webauth' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'xvnc'...
firefox-firefox-1  | [supervisor  ] loading service 'openbox'...
firefox-firefox-1  | [supervisor  ] loading service 'pulseaudio'...
firefox-firefox-1  | [supervisor  ] service 'pulseaudio' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'xcompmgr'...
firefox-firefox-1  | [supervisor  ] loading service 'logmonitor'...
firefox-firefox-1  | [supervisor  ] service 'logmonitor' is disabled.
firefox-firefox-1  | [supervisor  ] loading service 'logrotate'...
firefox-firefox-1  | [supervisor  ] all services loaded.
firefox-firefox-1  | [supervisor  ] starting services...
firefox-firefox-1  | [supervisor  ] starting service 'xvnc'...
firefox-firefox-1  | [supervisor  ] started service 'xvnc'.
firefox-firefox-1  | [supervisor  ] waiting for service 'xvnc' to be ready...
firefox-firefox-1  | [supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
firefox-firefox-1  | [supervisor  ] stopping service 'xvnc'...
firefox-firefox-1  | [supervisor  ] service 'xvnc' exited (got signal SIGKILL).
firefox-firefox-1  | [supervisor  ] waiting termination of logger thread of service 'xvnc'...
firefox-firefox-1  | [supervisor  ] logger thread of service 'xvnc' successfully terminated.
firefox-firefox-1  | [finish      ] executing container finish scripts...
firefox-firefox-1  | [finish      ] all container finish scripts executed.
firefox-firefox-1 exited with code 1

@gonzalu
Copy link
Author

gonzalu commented Jul 13, 2024

I had this problem too! WEB_AUTHENTICATION must be 0 then it works. I am using VNC_PASSWORD but not WEB_AUTHENTICATION

This did not work for me :(

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants