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

[Bug] Container can't access /config/log/nginx/error.log Permission denied #216

Open
ThaMighty90 opened this issue Aug 9, 2024 · 0 comments
Labels

Comments

@ThaMighty90
Copy link

ThaMighty90 commented Aug 9, 2024

Current Behavior

Container doesn't start because of an permission error while trying to open /config/log/nginx/error.log
The file doesn't even exist in the folder specified. manually creating the file doesn't fix the problem.

Expected Behavior

container starts without errors.

Steps To Reproduce

I have the config folder for Jdownloader mounted on an NFS Share and when I start up the container it crashes with the permission error.
When I look at the mounted folder the file isn't even there.

Environment

  • OS: Debian
  • OS version: 12
  • CPU: x86-64
  • Docker version: 27.1.1
  • Device model: lenovo htpc
  • Container is accessed via traefik
  • Browser/OS: Chrome

Container creation

services:
jdownloader:
image: jlesage/jdownloader-2:latest
volumes:
- jd_config:/config:rw
- jd_download:/output:rw
- /etc/localtime:/etc/localtime:ro #optional
environment:
DARK_MODE: 1
USER_ID: 1033
GROUP_ID: 100
networks:
- traefik-public
deploy:
replicas: 1
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.jdownloader-http.rule=Host(example.domain.tld)
- traefik.http.routers.jdownloader-http.entrypoints=http
- traefik.http.routers.jdownloader-http.middlewares=https-redirect
- traefik.http.routers.jdownloader-https.rule=Host(example.domain.tld)
- traefik.http.routers.jdownloader-https.entrypoints=https
- traefik.http.routers.jdownloader-https.tls=true
- traefik.http.routers.jdownloader-https.tls.certresolver=le
- traefik.http.services.jdownloader.loadbalancer.server.port=5800
- traefik.http.services.jdownloader.loadbalancer.sticky.cookie.secure=true

volumes:
jd_config:
driver_opts:
type: nfs
o: "nfsvers=4,addr=xxx.xxx.xxx.x,rw,nolock"
device: ":/volume1/dockerswarm/data/jdownloader"
jd_download:
driver_opts:
type: nfs
o: "nfsvers=4,addr=xxx.xxx.xxx.x,rw,nolock"
device: ":/volume1/Plex/Downloads"
networks:
traefik-public:
external: true

Container log

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] EGL_LOG_LEVEL: executing...
[cont-env    ] EGL_LOG_LEVEL: terminated successfully.
[cont-env    ] EGL_LOG_LEVEL: loading...
[cont-env    ] GSK_RENDERER: executing...
[cont-env    ] GSK_RENDERER: terminated successfully.
[cont-env    ] GSK_RENDERER: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: not setting variable.
[cont-env    ] LIBGL_DRIVERS_PATH: executing...
[cont-env    ] LIBGL_DRIVERS_PATH: terminated successfully.
[cont-env    ] LIBGL_DRIVERS_PATH: loading...
[cont-env    ] PULSE_CONFIG_PATH: executing...
[cont-env    ] PULSE_CONFIG_PATH: terminated successfully.
[cont-env    ] PULSE_CONFIG_PATH: not setting variable.
[cont-env    ] PULSE_COOKIE: executing...
[cont-env    ] PULSE_COOKIE: terminated successfully.
[cont-env    ] PULSE_COOKIE: not setting variable.
[cont-env    ] PULSE_SERVER: executing...
[cont-env    ] PULSE_SERVER: terminated successfully.
[cont-env    ] PULSE_SERVER: not setting variable.
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-pulse.sh: executing...
[cont-init   ] 10-pulse.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-webauth.sh: executing...
[cont-init   ] 10-webauth.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-jdownloader2.sh: executing...
[cont-init   ] 55-jdownloader2.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           JDownloader 2                                 │
    │ Application Version:   n/a                                           │
    │ Docker Image Version:  24.08.1                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'audiorecorder'...
[supervisor  ] service 'audiorecorder' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'webauth'...
[supervisor  ] service 'webauth' is disabled.
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'pulseaudio'...
[supervisor  ] service 'pulseaudio' is disabled.
[supervisor  ] loading service 'xcompmgr'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[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        ] Fri Aug  9 19:44:47 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[nginx       ] nginx: [alert] could not open error log file: open() "/config/log/nginx/error.log" failed (13: Permission denied)
[nginx       ] 2024/08/09 19:44:48 [emerg] 776#776: open() "/config/log/nginx/error.log" failed (13: Permission denied)
[supervisor  ] service 'nginx' failed to be started: not ready after 5000 msec, giving up.
[supervisor  ] stopping service 'nginx'...
[supervisor  ] service 'nginx' exited (with status 1).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Fri Aug  9 19:44:53 2024
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

Container inspect

{
    "AppArmorProfile": "docker-default",
    "Args": [],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/init"
        ],
        "Domainname": "",
        "Entrypoint": null,
        "Env": [
            "DARK_MODE=1",
            "GROUP_ID=100",
            "USER_ID=1033",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
            "ENV=/root/.docker_rc",
            "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",
            "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",
            "WEB_AUDIO=0",
            "WEB_AUTHENTICATION=0",
            "WEB_AUTHENTICATION_DEFAULT_USERNAME=",
            "WEB_AUTHENTICATION_DEFAULT_PASSWORD=",
            "MYJDOWNLOADER_EMAIL=",
            "MYJDOWNLOADER_PASSWORD=",
            "MYJDOWNLOADER_DEVICE_NAME=",
            "JDOWNLOADER_HEADLESS=0",
            "JDOWNLOADER_MAX_MEM="
        ],
        "ExposedPorts": {
            "3129/tcp": {},
            "5800/tcp": {},
            "5900/tcp": {}
        },
        "Hostname": "ed931ced4385",
        "Image": "jlesage/jdownloader-2:latest@sha256:71f25653644cfc19235a67f4264f227b22337d6fa17f5c278e49b5cea18513a8",
        "Labels": {
            "com.docker.stack.namespace": "warez",
            "com.docker.swarm.node.id": "vxmcp7cugyswm2w6iobl2pnsp",
            "com.docker.swarm.service.id": "0b0cnu8yffk58nlw18nggoj9z",
            "com.docker.swarm.service.name": "warez_jdownloader",
            "com.docker.swarm.task": "",
            "com.docker.swarm.task.id": "uwk2rdthbpaoohf77300ojqm6",
            "com.docker.swarm.task.name": "warez_jdownloader.1.uwk2rdthbpaoohf77300ojqm6",
            "org.label-schema.description": "Docker container for JDownloader 2",
            "org.label-schema.name": "jdownloader-2",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vcs-url": "https://github.com/jlesage/docker-jdownloader-2",
            "org.label-schema.version": "24.08.1"
        },
        "OnBuild": null,
        "OpenStdin": false,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": {
            "/config": {},
            "/output": {}
        },
        "WorkingDir": "/tmp"
    },
    "Created": "2024-08-09T19:46:20.625857119Z",
    "Driver": "overlay2",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a42f470ae59d10e1e797f896f624b13d83ad8c4a748df087b88f50237626cdde-init/diff:/var/lib/docker/overlay2/34010120910acbae416949af87d0713085126acf6ca4519d94807a4eb40b2184/diff:/var/lib/docker/overlay2/ae34f21e819131888c7bb818d69785f5c9965e3f32e9f1350131990e21ea1c99/diff:/var/lib/docker/overlay2/79158e7adc5a368223be4a87ddbe1ef1b7d723ec2e67a9abee8ad3e5ff52ea88/diff:/var/lib/docker/overlay2/1ac358145be77d207fd2cd983ffa91a51b7bc8566c66c293e925deb9ba9f8d8d/diff:/var/lib/docker/overlay2/76d020a832a8ba61e9979f985dab4d4abd9aea932a070d1a164c7aa3a3498c41/diff:/var/lib/docker/overlay2/0ad0ae19855067f52378c2bd59f6b8717ca91e296fe5114c76db9c3f69eb5cbe/diff:/var/lib/docker/overlay2/7087f25fc51b6ee7201e9e22ecd375d976e950d1a3cc0ee827a08b8d51ef1660/diff:/var/lib/docker/overlay2/8b1c1f2b25494002c571c28cd15d3e4b3758934db618bb3a49fa67ff2577daf0/diff:/var/lib/docker/overlay2/08043b3a2b4d50559e5930c9eec09a003733cfecb26931bfd4795db264fb79f8/diff:/var/lib/docker/overlay2/93e8c13c868f77a497e52d8af0711efce3b510db8c9b8e4db05acee43d5f65a7/diff:/var/lib/docker/overlay2/b9685055d6622d97c0ae70eb04e11c3cbcc393e5c909d90e60ac99c187b48332/diff:/var/lib/docker/overlay2/9db9d99b4dc54f6ee2248ecbf3c187dec09caa9d013512f113d99a761988e50b/diff:/var/lib/docker/overlay2/982678ca5d0c5a580b08a2c9f25a5b458158deae0e1b8e7ca884b98681bf899e/diff:/var/lib/docker/overlay2/a0ebe29dadad4c8f999ada0d212d388ffef6170e89bb340f5a1c714a492a6fdd/diff:/var/lib/docker/overlay2/b9ccffe118ffa163fa39c9a3f7343d47db04eb66d2041fcf74679c39b76cbbb3/diff:/var/lib/docker/overlay2/de65607ef4fe5a4accbffaf40f6cd3ff35d50103cbba5066d535536002c4963d/diff:/var/lib/docker/overlay2/260a014fa2b1f9c9dcff8b5e8f8018bbec6786976901a824ddfbcfee572c0212/diff:/var/lib/docker/overlay2/ccb03d85e98cf2135f5722497f46b1709473b79b209b6deaabd4dc7526b741c7/diff:/var/lib/docker/overlay2/f8d57fc0cb69dd177c4e76a7ebaa7f22c47fcfe00391f4ec60ab4c1b8e30d53e/diff:/var/lib/docker/overlay2/a0b34043fba63a2c7d1c0f2fb96dd85cd7e169e65baf4d7477eb2219db97964c/diff:/var/lib/docker/overlay2/2a24197497b5dd2803b6808d9bbe4f69b19678327c2d0c919f932c48abd20c4c/diff:/var/lib/docker/overlay2/9b0efcc9739d64c7683e5b20ad5908d316c5b6a19368f0d956e4847d80b6c90c/diff:/var/lib/docker/overlay2/1506ae5fcf95a09319aecd0cb0b03a7271804c763ba5fe0f7efbebab2ce6f762/diff:/var/lib/docker/overlay2/66430e7ec92679b85b8c6baf8f118246f39afba9eb37422e4544dd6955492b6b/diff:/var/lib/docker/overlay2/579e42dba84971d294de4cabe85adea2bf011fb5e524bd552a44b6fca9f75bc8/diff:/var/lib/docker/overlay2/8307168e31ef8cf4499b41eaa6b69d153905efc1bcf80eab53c536cb0ec39026/diff:/var/lib/docker/overlay2/8ee4a1eb2ddf168ac86ae75dfbc472d258a5d969614ca1914ff6ed5e4fd51d16/diff:/var/lib/docker/overlay2/5a042c7d29f971bf2c66985e1ef0e826f70d88bf8019089f767e564dbd122624/diff:/var/lib/docker/overlay2/6543130297e54322bfa8eba2d6925827615d5bb5ae258011e6b0675b956cede1/diff:/var/lib/docker/overlay2/3b712e0540d2ddd65cbc5376517efbeb03d232bc7385e4535b6afa0c553908bf/diff:/var/lib/docker/overlay2/d63f5209895cc19d13a630d866e93d80b128edfceb32de464ac939346e1cab4c/diff:/var/lib/docker/overlay2/83974c4c1e9e697cc2841ceec8e06e3cce4a00cfdda531adcdec36d120c58579/diff:/var/lib/docker/overlay2/0437dddb8dee92e11722df034c7d084c43137735f99a412e2c8a4daac7c73b77/diff:/var/lib/docker/overlay2/8d4f6489318bbc78b52682977880a503e8e9347c960d5c6c7eea3637dd61d410/diff:/var/lib/docker/overlay2/edf36b19d476fb38a76d4c03f51a2da12682a2c926f3e8d5c44a3c042f76a80c/diff:/var/lib/docker/overlay2/8cffe43966f8e47b337410f53a4b6eb9987574eddbb486ade50a91189dee5503/diff:/var/lib/docker/overlay2/60c1f5c3f69a9af903bb0a788f1d57e981def86e95d26dcf9ad354552ffd6ae3/diff:/var/lib/docker/overlay2/de18b5b089949a5aaddcf09ec1430021759661f256e8ee79c6d20e0ee68b2cfc/diff:/var/lib/docker/overlay2/bb1f49febdd43ac73b857b0197450a355cfdcd92a37ad9c3c37fe7978f40a4a5/diff:/var/lib/docker/overlay2/06c64c42c856bbce6cf1a5ca5814284aef53850212a8b6d2d6d6191a7117f253/diff:/var/lib/docker/overlay2/a5a662c6b27d42da39821ffb7bbb4d5ff17e0905c84ca9246195da5fbad84002/diff",
            "MergedDir": "/var/lib/docker/overlay2/a42f470ae59d10e1e797f896f624b13d83ad8c4a748df087b88f50237626cdde/merged",
            "UpperDir": "/var/lib/docker/overlay2/a42f470ae59d10e1e797f896f624b13d83ad8c4a748df087b88f50237626cdde/diff",
            "WorkDir": "/var/lib/docker/overlay2/a42f470ae59d10e1e797f896f624b13d83ad8c4a748df087b88f50237626cdde/work"
        },
        "Name": "overlay2"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": null,
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": null,
        "CapDrop": null,
        "Cgroup": "",
        "CgroupParent": "",
        "CgroupnsMode": "private",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "DeviceRequests": null,
        "Devices": null,
        "Dns": null,
        "DnsOptions": null,
        "DnsSearch": null,
        "ExtraHosts": null,
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "IpcMode": "private",
        "Isolation": "default",
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "json-file"
        },
        "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"
        ],
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "Mounts": [
            {
                "Source": "warez_jd_config",
                "Target": "/config",
                "Type": "volume",
                "VolumeOptions": {
                    "DriverConfig": {
                        "Options": {
                            "device": ":/volume1/dockerswarm/data/jdownloader",
                            "o": "nfsvers=4,addr=192.168.188.6,rw,nolock",
                            "type": "nfs"
                        }
                    },
                    "Labels": {
                        "com.docker.stack.namespace": "warez"
                    }
                }
            },
            {
                "Source": "warez_jd_download",
                "Target": "/output",
                "Type": "volume",
                "VolumeOptions": {
                    "DriverConfig": {
                        "Options": {
                            "device": ":/volume1/Plex/Downloads",
                            "o": "nfsvers=4,addr=192.168.188.6,rw,nolock",
                            "type": "nfs"
                        }
                    },
                    "Labels": {
                        "com.docker.stack.namespace": "warez"
                    }
                }
            },
            {
                "ReadOnly": true,
                "Source": "/etc/localtime",
                "Target": "/etc/localtime",
                "Type": "bind"
            }
        ],
        "NanoCpus": 0,
        "NetworkMode": "bridge",
        "OomKillDisable": null,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": null,
        "PortBindings": {},
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyPaths": [
            "/proc/bus",
            "/proc/fs",
            "/proc/irq",
            "/proc/sys",
            "/proc/sysrq-trigger"
        ],
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "no"
        },
        "Runtime": "runc",
        "SecurityOpt": null,
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": [],
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "/var/lib/docker/containers/ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86/hostname",
    "HostsPath": "/var/lib/docker/containers/ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86/hosts",
    "Id": "ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86",
    "Image": "sha256:4494fe8b4037342b0e5c39d3ec05fc02578fd15e7beae9598bad5e7ad6e5f099",
    "LogPath": "/var/lib/docker/containers/ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86/ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86-json.log",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/config",
            "Driver": "local",
            "Mode": "z",
            "Name": "warez_jd_config",
            "Propagation": "",
            "RW": true,
            "Source": "/var/lib/docker/volumes/warez_jd_config/_data",
            "Type": "volume"
        },
        {
            "Destination": "/output",
            "Driver": "local",
            "Mode": "z",
            "Name": "warez_jd_download",
            "Propagation": "",
            "RW": true,
            "Source": "/var/lib/docker/volumes/warez_jd_download/_data",
            "Type": "volume"
        },
        {
            "Destination": "/etc/localtime",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": false,
            "Source": "/etc/localtime",
            "Type": "bind"
        }
    ],
    "Name": "/warez_jdownloader.1.uwk2rdthbpaoohf77300ojqm6",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "traefik-public": {
                "Aliases": null,
                "DNSNames": [
                    "warez_jdownloader.1.uwk2rdthbpaoohf77300ojqm6",
                    "ed931ced4385"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": {
                    "IPv4Address": "10.0.3.38"
                },
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "",
                "NetworkID": "tc7vhond7zyrsmrqqawyvgapn"
            }
        },
        "Ports": {},
        "SandboxID": "",
        "SandboxKey": "",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "/init",
    "Platform": "linux",
    "Portainer": {
        "ResourceControl": {
            "Id": 12,
            "ResourceId": "1_warez",
            "SubResourceIds": [],
            "Type": 6,
            "UserAccesses": [],
            "TeamAccesses": [],
            "Public": false,
            "AdministratorsOnly": true,
            "System": false
        }
    },
    "ProcessLabel": "",
    "ResolvConfPath": "/var/lib/docker/containers/ed931ced4385df28d28cb55bf632cbce8c9e483f33de403fadfcd60a414aba86/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 1,
        "FinishedAt": "2024-08-09T19:46:32.429131553Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 0,
        "Restarting": false,
        "Running": false,
        "StartedAt": "2024-08-09T19:46:25.783540212Z",
        "Status": "exited"
    }
}

Anything else?

I am running this on docker swarm. I temporarily changed the config folder to a local folder on the host and JD starts. Wiredly enough downloading to the NFS Share works without any problems.
But i obviously want the config folder on the NFS Share so any node in the swarm can start up the container while retaining all configuration changes made.

@ThaMighty90 ThaMighty90 added the bug label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant