OK. I’m using Synology’s Docker implementation which generates and hides the actual docker-compose command, but here’s the settings of the resulting container:
{
"cap_add" : [],
"cap_drop" : [],
"cmd" : "",
"cpu_priority" : 50,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : false,
"entrypoint_default" : "/init",
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "HOME",
"value" : "/config"
},
{
"key" : "LANGUAGE",
"value" : "en_US.UTF-8"
},
{
"key" : "LANG",
"value" : "en_US.UTF-8"
},
{
"key" : "TERM",
"value" : "xterm"
},
{
"key" : "XDG_CONFIG_HOME",
"value" : "/config"
},
{
"key" : "XDG_DATA_HOME",
"value" : "/config"
},
{
"key" : "UMASK_SET",
"value" : "022"
},
{
"key" : "PGID",
"value" : "100"
},
{
"key" : "PUID",
"value" : "1032"
},
{
"key" : "WEBUI_PORT",
"value" : "8080"
},
{
"key" : "TZ",
"value" : "US/Central"
}
],
"exporting" : false,
"id" : "78a64f89d6a3efa6f4bd69be788ba934ae8fa75121732b1f6f10d9ddd3b525a6",
"image" : "linuxserver/qbittorrent:latest",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"memory_limit_slider" : 1024,
"name" : "qbittorrent",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "bridge",
"port_bindings" : [
{
"container_port" : 6881,
"host_port" : 6881,
"type" : "tcp"
},
{
"container_port" : 6881,
"host_port" : 6881,
"type" : "udp"
},
{
"container_port" : 8080,
"host_port" : 8080,
"type" : "tcp"
}
],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/docker/qbittorrent/downloads",
"mount_point" : "/downloads",
"type" : "rw"
},
{
"host_volume_file" : "/docker/qbittorrent/config",
"mount_point" : "/config",
"type" : "rw"
}
]
}
and the log:
root@Tower:~# docker logs --tail=50 -f qbittorrent
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1032
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Could not create required directory '/config/.cache/qBittorrent/'
Could not create required directory '/config/.cache/qBittorrent/'
Could not create required directory '/config/.cache/qBittorrent/'
Could not create required directory '/config/.cache/qBittorrent/'
Could not create required directory '/config/.cache/qBittorrent/'
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Again, this works fine if I remove the external /config volume binding, but even with it, it successfully creates other directories but not .cache.
Thanks!