Hello, I tried to install NextCloud AIO as I read in:
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
ports:
- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 8080:8080
- 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# environment: # Is needed when using any of the options below
# - AIO_DISABLE_BACKUP_SECTION=false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
# - APACHE_PORT=11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# - APACHE_IP_BINDING=127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# - BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
# - COLLABORA_SECCOMP_DISABLED=false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
# - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
This file has been truncated. show original
# Reverse Proxy Documentation
A [reverse proxy](https://en.wikipedia.org/wiki/Reverse_proxy) is basically a web server that enables computers on the internet to access a service in a [private subnet](https://en.wikipedia.org/wiki/Private_network).
**Please note:** Publishing the AIO interface with a valid certificate to the public internet is **not** the goal of this documentation! Instead, the main goal is to publish Nextcloud with a valid certificate to the public internet which is **not** running inside the mastercontainer but in a different container! If you need a valid certificate for the AIO interface, see [point 5](#5-optional-get-a-valid-certificate-for-the-aio-interface).
In order to run Nextcloud behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else), you need to specify the port that AIO's Apache container shall use, add a specific config to your web server or reverse proxy and modify the startup command a bit. All examples below will use port `11000` as example `APACHE_PORT` which will be exposed on the host to receive unencrypted HTTP traffic from the reverse proxy. **Advice:** If you need https between Nextcloud and the reverse proxy because it is running on a different server in the same network, simply add another reverse proxy to the chain that runs on the same server like AIO and takes care of https proxying (most likely via self-signed cert). Another option is to create a VPN between the server that runs AIO and the server that runs the reverse proxy which takes care of encrypting the connection.
**Attention:** The process to run Nextcloud behind a reverse proxy consists of at least steps 1, 2 and 4:
1. **Configure the reverse proxy! See [point 1](#1-configure-the-reverse-proxy)**
1. **Use this startup command! See [point 2](#2-use-this-startup-command)**
1. Optional: If the reverse proxy is installed on the same host and in the host network, you should limit the apache container to only listen on localhost. See [point 3](#3-limit-the-access-to-the-apache-container)
1. **Open the AIO interface. See [point 4](#4-open-the-aio-interface)**
1. Optional: Get a valid certificate for the AIO interface! See [point 5](#5-optional-get-a-valid-certificate-for-the-aio-interface)
1. Optional: How to debug things? See [point 6](#6-how-to-debug-things)
**Please note:** Since the Apache container gets created by the mastercontainer, there is **NO** way to provide custom docker labels or custom environmental variables for the Apache container. So please do not attempt to do this because you will fail! Only the documented way will work!
## 1. Configure the reverse proxy
This file has been truncated. show original
I put this code (according to the reference that the documentation indicates).
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
ports:
#- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- 8080:8080
#- 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
environment: # Is needed when using any of the options below
# - AIO_DISABLE_BACKUP_SECTION=false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
- APACHE_PORT=11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- APACHE_IP_BINDING=127.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# - BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
# - COLLABORA_SECCOMP_DISABLED=false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
# - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
# - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
# - NEXTCLOUD_UPLOAD_LIMIT=10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
# - NEXTCLOUD_MAX_TIME=3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
# - NEXTCLOUD_MEMORY_LIMIT=512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
# - NEXTCLOUD_TRUSTED_CACERTS_DIR=/path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certification-authorities-ca
# - NEXTCLOUD_STARTUP_APPS=deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup
# - NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
# - NEXTCLOUD_ENABLE_DRI_DEVICE=true # This allows to enable the /dev/dri device in the Nextcloud container. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as otherwise the Nextcloud container will fail to start! See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud
# - NEXTCLOUD_KEEP_DISABLED_APPS=false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps
# - TALK_PORT=3478 # This allows to adjust the port that the talk container is using. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port
# - WATCHTOWER_DOCKER_SOCKET_PATH=/var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock'
# networks: # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file
# - nextcloud-aio # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file
# # Uncomment the following line when using SELinux
# security_opt: ["label:disable"]
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
caddy:
image: caddy:alpine
restart: always
container_name: caddy
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./certs:/certs
- ./config:/config
- ./data:/data
- ./sites:/srv
network_mode: "host"
volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
# # Optional: If you need ipv6, follow step 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md first and then uncomment the below config in order to activate ipv6 for the internal nextcloud-aio network.
# # Please make sure to uncomment also the networking lines of the mastercontainer above in order to actually create the network with docker-compose
# networks:
# nextcloud-aio:
# name: nextcloud-aio # This line is not allowed to be changed as otherwise the created network will not be used by the other containers of AIO
# driver: bridge
# enable_ipv6: true
# ipam:
# driver: default
# config:
# - subnet: fd12:3456:789a:2::/64 # IPv6 subnet to use
It is giving this error.
failed to deploy a stack: validating /data/compose/2/docker-compose.yml: services.nextcloud-aio-mastercontainer Additional property caddy is not allowed
Thank you.
Clean compose
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080
environment:
- APACHE_PORT=11000
- APACHE_IP_BINDING=127.0.0.1
caddy:
image: caddy:alpine
restart: always
container_name: caddy
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./certs:/certs
- ./config:/config
- ./data:/data
- ./sites:/srv
network_mode: "host"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
Error:
failed to deploy a stack: caddy Pulling nextcloud-aio-mastercontainer Pulling c926b61bad3b Pulling fs layer 08886dfc0722 Pulling fs layer 6fd2155878b9 Pulling fs layer b7343593237d Pulling fs layer b7343593237d Waiting c926b61bad3b Pulling fs layer e8e26b626c27 Pulling fs layer 23427f6f19cc Pulling fs layer 938ee652f0dd Pulling fs layer 3732066280a1 Pulling fs layer 23dfeb871e9d Pulling fs layer 71442a0585dd Pulling fs layer 930182f44a16 Pulling fs layer 100698e2eb12 Pulling fs layer f1b065e10a03 Pulling fs layer ae06041d8ef4 Pulling fs layer aaa020936514 Pulling fs layer e8e26b626c27 Waiting c26bb32e4e8f Pulling fs layer 23427f6f19cc Waiting 938ee652f0dd Waiting 62a166801194 Pulling fs layer 9fcaffbecdcc Pulling fs layer 7691336c3b78 Pulling fs layer 99234cc7aa15 Pulling fs layer e3e95ac7ed0d Pulling fs layer 100698e2eb12 Waiting f1b065e10a03 Waiting ae06041d8ef4 Waiting aaa020936514 Waiting c26bb32e4e8f Waiting 62a166801194 Waiting 9fcaffbecdcc Waiting 3732066280a1 Waiting 7691336c3b78 Waiting 23dfeb871e9d Waiting 99234cc7aa15 Waiting 71442a0585dd Waiting e3e95ac7ed0d Waiting 930182f44a16 Waiting 6fd2155878b9 Downloading [====> ] 720B/7.528kB 6fd2155878b9 Downloading [==================================================>] 7.528kB/7.528kB 6fd2155878b9 Verifying Checksum 6fd2155878b9 Download complete 08886dfc0722 Downloading [> ] 4.107kB/350.8kB 08886dfc0722 Downloading [==================================================>] 350.8kB/350.8kB 08886dfc0722 Verifying Checksum 08886dfc0722 Download complete b7343593237d Downloading [> ] 147.2kB/14.71MB e8e26b626c27 Downloading [> ] 28.1kB/2.679MB e8e26b626c27 Downloading [========================> ] 1.306MB/2.679MB c926b61bad3b Downloading [> ] 34.76kB/3.402MB c926b61bad3b Downloading [> ] 34.76kB/3.402MB b7343593237d Downloading [=====> ] 1.502MB/14.71MB e8e26b626c27 Downloading [==============================================> ] 2.497MB/2.679MB c926b61bad3b Downloading [===========> ] 797.9kB/3.402MB c926b61bad3b Downloading [===========> ] 797.9kB/3.402MB e8e26b626c27 Verifying Checksum e8e26b626c27 Download complete b7343593237d Downloading [=======> ] 2.247MB/14.71MB c926b61bad3b Downloading [========================================> ] 2.78MB/3.402MB c926b61bad3b Downloading [========================================> ] 2.78MB/3.402MB c926b61bad3b Verifying Checksum c926b61bad3b Verifying Checksum c926b61bad3b Download complete c926b61bad3b Download complete c926b61bad3b Extracting [> ] 65.54kB/3.402MB c926b61bad3b Extracting [> ] 65.54kB/3.402MB b7343593237d Downloading [=========> ] 2.849MB/14.71MB 23427f6f19cc Downloading [============================> ] 719B/1.263kB 23427f6f19cc Downloading [==================================================>] 1.263kB/1.263kB 23427f6f19cc Verifying Checksum 23427f6f19cc Download complete c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB 938ee652f0dd Downloading [==================================================>] 269B/269B 938ee652f0dd Verifying Checksum 938ee652f0dd Download complete b7343593237d Downloading [==================> ] 5.364MB/14.71MB c926b61bad3b Pull complete c926b61bad3b Pull complete 08886dfc0722 Extracting [====> ] 32.77kB/350.8kB e8e26b626c27 Extracting [> ] 32.77kB/2.679MB 08886dfc0722 Extracting [==================================================>] 350.8kB/350.8kB 08886dfc0722 Extracting [==================================================>] 350.8kB/350.8kB 23dfeb871e9d Downloading [==================================================>] 497B/497B 23dfeb871e9d Verifying Checksum 23dfeb871e9d Download complete b7343593237d Downloading [==========================> ] 7.887MB/14.71MB 3732066280a1 Downloading [> ] 123.7kB/12.09MB e8e26b626c27 Extracting [========================================> ] 2.163MB/2.679MB 08886dfc0722 Pull complete 6fd2155878b9 Extracting [==================================================>] 7.528kB/7.528kB 6fd2155878b9 Extracting [==================================================>] 7.528kB/7.528kB e8e26b626c27 Extracting [==================================================>] 2.679MB/2.679MB 6fd2155878b9 Pull complete e8e26b626c27 Pull complete 23427f6f19cc Extracting [==================================================>] 1.263kB/1.263kB 23427f6f19cc Extracting [==================================================>] 1.263kB/1.263kB 23427f6f19cc Pull complete 938ee652f0dd Extracting [==================================================>] 269B/269B 938ee652f0dd Extracting [==================================================>] 269B/269B b7343593237d Downloading [==============================> ] 9.087MB/14.71MB 938ee652f0dd Pull complete 3732066280a1 Downloading [======> ] 1.543MB/12.09MB 3732066280a1 Downloading [===========> ] 2.857MB/12.09MB b7343593237d Downloading [===================================> ] 10.41MB/14.71MB 71442a0585dd Downloading [> ] 127.2kB/12.7MB 3732066280a1 Downloading [================> ] 4.033MB/12.09MB b7343593237d Downloading [=====================================> ] 11.02MB/14.71MB 71442a0585dd Downloading [======> ] 1.58MB/12.7MB 3732066280a1 Downloading [===================> ] 4.684MB/12.09MB b7343593237d Downloading [=====================================> ] 11.16MB/14.71MB 71442a0585dd Downloading [=============> ] 3.418MB/12.7MB b7343593237d Downloading [======================================> ] 11.46MB/14.71MB 71442a0585dd Downloading [=====================> ] 5.405MB/12.7MB 3732066280a1 Downloading [======================> ] 5.344MB/12.09MB b7343593237d Downloading [=======================================> ] 11.75MB/14.71MB 71442a0585dd Downloading [============================> ] 7.248MB/12.7MB 3732066280a1 Downloading [========================> ] 5.868MB/12.09MB 71442a0585dd Downloading [===================================> ] 9.083MB/12.7MB 3732066280a1 Downloading [==========================> ] 6.392MB/12.09MB b7343593237d Downloading [=========================================> ] 12.06MB/14.71MB 71442a0585dd Downloading [============================================> ] 11.18MB/12.7MB 3732066280a1 Downloading [============================> ] 6.785MB/12.09MB b7343593237d Downloading [==========================================> ] 12.36MB/14.71MB 71442a0585dd Verifying Checksum 71442a0585dd Download complete 3732066280a1 Downloading [===============================> ] 7.572MB/12.09MB 930182f44a16 Downloading [==============> ] 720B/2.45kB 930182f44a16 Downloading [==================================================>] 2.45kB/2.45kB 930182f44a16 Verifying Checksum 930182f44a16 Download complete b7343593237d Downloading [============================================> ] 12.95MB/14.71MB 100698e2eb12 Downloading [=> ] 719B/18.95kB 100698e2eb12 Downloading [==================================================>] 18.95kB/18.95kB 100698e2eb12 Verifying Checksum 100698e2eb12 Download complete 3732066280a1 Downloading [======================================> ] 9.399MB/12.09MB b7343593237d Downloading [==============================================> ] 13.69MB/14.71MB 3732066280a1 Downloading [==============================================> ] 11.23MB/12.09MB f1b065e10a03 Downloading [===> ] 720B/9.177kB f1b065e10a03 Downloading [==================================================>] 9.177kB/9.177kB f1b065e10a03 Verifying Checksum f1b065e10a03 Download complete 3732066280a1 Verifying Checksum 3732066280a1 Download complete 3732066280a1 Extracting [> ] 131.1kB/12.09MB b7343593237d Downloading [=================================================> ] 14.58MB/14.71MB b7343593237d Verifying Checksum b7343593237d Download complete b7343593237d Extracting [> ] 163.8kB/14.71MB ae06041d8ef4 Downloading [> ] 148kB/14.71MB 3732066280a1 Extracting [==================================================>] 12.09MB/12.09MB 3732066280a1 Pull complete 23dfeb871e9d Extracting [==================================================>] 497B/497B 23dfeb871e9d Extracting [==================================================>] 497B/497B 23dfeb871e9d Pull complete 71442a0585dd Extracting [> ] 131.1kB/12.7MB b7343593237d Extracting [===============> ] 4.424MB/14.71MB aaa020936514 Downloading [> ] 168.1kB/16.4MB c26bb32e4e8f Downloading [==================================================>] 143B/143B c26bb32e4e8f Verifying Checksum c26bb32e4e8f Download complete ae06041d8ef4 Downloading [========> ] 2.419MB/14.71MB b7343593237d Extracting [===========================> ] 8.192MB/14.71MB 71442a0585dd Extracting [============> ] 3.146MB/12.7MB aaa020936514 Downloading [=====> ] 1.765MB/16.4MB ae06041d8ef4 Downloading [===========> ] 3.451MB/14.71MB b7343593237d Extracting [===================================> ] 10.49MB/14.71MB 71442a0585dd Extracting [======================> ] 5.767MB/12.7MB aaa020936514 Downloading [=========> ] 3.169MB/16.4MB ae06041d8ef4 Downloading [===============> ] 4.651MB/14.71MB 62a166801194 Downloading [> ] 294.9kB/28.41MB b7343593237d Extracting [=================================================> ] 14.42MB/14.71MB b7343593237d Extracting [==================================================>] 14.71MB/14.71MB b7343593237d Pull complete aaa020936514 Downloading [============> ] 4.229MB/16.4MB caddy Pulled 71442a0585dd Extracting [=============================> ] 7.471MB/12.7MB ae06041d8ef4 Downloading [=================> ] 5.245MB/14.71MB 62a166801194 Downloading [===> ] 1.756MB/28.41MB 71442a0585dd Extracting [================================> ] 8.258MB/12.7MB aaa020936514 Downloading [==============> ] 4.762MB/16.4MB 62a166801194 Downloading [======> ] 3.821MB/28.41MB ae06041d8ef4 Downloading [==================> ] 5.54MB/14.71MB 71442a0585dd Extracting [============================================> ] 11.4MB/12.7MB aaa020936514 Downloading [================> ] 5.303MB/16.4MB 62a166801194 Downloading [==========> ] 5.888MB/28.41MB ae06041d8ef4 Downloading [===================> ] 5.839MB/14.71MB 71442a0585dd Extracting [==================================================>] 12.7MB/12.7MB 71442a0585dd Pull complete 930182f44a16 Extracting [==================================================>] 2.45kB/2.45kB 930182f44a16 Extracting [==================================================>] 2.45kB/2.45kB 930182f44a16 Pull complete 100698e2eb12 Extracting [==================================================>] 18.95kB/18.95kB 100698e2eb12 Extracting [==================================================>] 18.95kB/18.95kB 100698e2eb12 Pull complete f1b065e10a03 Extracting [==================================================>] 9.177kB/9.177kB f1b065e10a03 Extracting [==================================================>] 9.177kB/9.177kB f1b065e10a03 Pull complete 62a166801194 Downloading [=============> ] 7.658MB/28.41MB aaa020936514 Downloading [==================> ] 6.011MB/16.4MB ae06041d8ef4 Downloading [====================> ] 6.142MB/14.71MB 62a166801194 Downloading [=================> ] 9.726MB/28.41MB ae06041d8ef4 Downloading [=====================> ] 6.437MB/14.71MB aaa020936514 Downloading [===================> ] 6.552MB/16.4MB 62a166801194 Downloading [====================> ] 11.79MB/28.41MB ae06041d8ef4 Downloading [======================> ] 6.74MB/14.71MB aaa020936514 Downloading [=====================> ] 6.912MB/16.4MB 62a166801194 Downloading [========================> ] 13.85MB/28.41MB aaa020936514 Downloading [======================> ] 7.273MB/16.4MB ae06041d8ef4 Downloading [=======================> ] 7.035MB/14.71MB 62a166801194 Downloading [============================> ] 16.2MB/28.41MB 62a166801194 Downloading [================================> ] 18.56MB/28.41MB ae06041d8ef4 Downloading [========================> ] 7.183MB/14.71MB aaa020936514 Downloading [=======================> ] 7.629MB/16.4MB 62a166801194 Downloading [====================================> ] 20.92MB/28.41MB ae06041d8ef4 Downloading [========================> ] 7.33MB/14.71MB aaa020936514 Downloading [=======================> ] 7.809MB/16.4MB 62a166801194 Downloading [========================================> ] 23.27MB/28.41MB aaa020936514 Downloading [========================> ] 7.977MB/16.4MB ae06041d8ef4 Downloading [=========================> ] 7.478MB/14.71MB 62a166801194 Downloading [=============================================> ] 25.61MB/28.41MB 62a166801194 Downloading [=================================================> ] 27.97MB/28.41MB aaa020936514 Downloading [========================> ] 8.158MB/16.4MB ae06041d8ef4 Downloading [=========================> ] 7.625MB/14.71MB 62a166801194 Verifying Checksum 62a166801194 Download complete 9fcaffbecdcc Downloading [==========> ] 1.369kB/6.564kB 9fcaffbecdcc Downloading [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Verifying Checksum 9fcaffbecdcc Download complete aaa020936514 Downloading [=========================> ] 8.506MB/16.4MB ae06041d8ef4 Downloading [==========================> ] 7.932MB/14.71MB 7691336c3b78 Downloading [==================================================>] 409B/409B 7691336c3b78 Verifying Checksum 7691336c3b78 Download complete aaa020936514 Downloading [============================> ] 9.399MB/16.4MB ae06041d8ef4 Downloading [==============================> ] 9.112MB/14.71MB 99234cc7aa15 Downloading [==================================================>] 526B/526B 99234cc7aa15 Verifying Checksum 99234cc7aa15 Download complete aaa020936514 Downloading [===============================> ] 10.47MB/16.4MB ae06041d8ef4 Downloading [===================================> ] 10.59MB/14.71MB e3e95ac7ed0d Downloading [================================> ] 720B/1.099kB e3e95ac7ed0d Downloading [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Verifying Checksum e3e95ac7ed0d Download complete aaa020936514 Downloading [===================================> ] 11.53MB/16.4MB ae06041d8ef4 Downloading [=========================================> ] 12.07MB/14.71MB aaa020936514 Downloading [======================================> ] 12.61MB/16.4MB ae06041d8ef4 Downloading [==============================================> ] 13.57MB/14.71MB ae06041d8ef4 Verifying Checksum ae06041d8ef4 Download complete ae06041d8ef4 Extracting [> ] 163.8kB/14.71MB aaa020936514 Downloading [==========================================> ] 13.87MB/16.4MB ae06041d8ef4 Extracting [=================> ] 5.243MB/14.71MB aaa020936514 Downloading [=================================================> ] 16.37MB/16.4MB aaa020936514 Verifying Checksum aaa020936514 Download complete ae06041d8ef4 Extracting [=================================> ] 9.994MB/14.71MB ae06041d8ef4 Extracting [==================================================>] 14.71MB/14.71MB ae06041d8ef4 Pull complete aaa020936514 Extracting [> ] 196.6kB/16.4MB aaa020936514 Extracting [================> ] 5.505MB/16.4MB aaa020936514 Extracting [==============================================> ] 15.34MB/16.4MB aaa020936514 Extracting [==================================================>] 16.4MB/16.4MB aaa020936514 Pull complete c26bb32e4e8f Extracting [==================================================>] 143B/143B c26bb32e4e8f Extracting [==================================================>] 143B/143B c26bb32e4e8f Pull complete 62a166801194 Extracting [> ] 294.9kB/28.41MB 62a166801194 Extracting [=======> ] 4.129MB/28.41MB 62a166801194 Extracting [=============> ] 7.668MB/28.41MB 62a166801194 Extracting [====================> ] 11.5MB/28.41MB 62a166801194 Extracting [=======================> ] 13.27MB/28.41MB 62a166801194 Extracting [==============================> ] 17.1MB/28.41MB 62a166801194 Extracting [==================================> ] 19.76MB/28.41MB 62a166801194 Extracting [=====================================> ] 21.53MB/28.41MB 62a166801194 Extracting [========================================> ] 23MB/28.41MB 62a166801194 Extracting [===========================================> ] 24.48MB/28.41MB 62a166801194 Extracting [===============================================> ] 27.13MB/28.41MB 62a166801194 Extracting [==================================================>] 28.41MB/28.41MB 62a166801194 Pull complete 9fcaffbecdcc Extracting [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Extracting [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Pull complete 7691336c3b78 Extracting [==================================================>] 409B/409B 7691336c3b78 Extracting [==================================================>] 409B/409B 7691336c3b78 Pull complete 99234cc7aa15 Extracting [==================================================>] 526B/526B 99234cc7aa15 Extracting [==================================================>] 526B/526B 99234cc7aa15 Pull complete e3e95ac7ed0d Extracting [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Extracting [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Pull complete nextcloud-aio-mastercontainer Pulled Network nextcloud-aio-mastercontainer_default Creating Network nextcloud-aio-mastercontainer_default Created Volume “nextcloud_aio_mastercontainer” Creating Volume “nextcloud_aio_mastercontainer” Created Container nextcloud-aio-mastercontainer Creating Container caddy Creating Container nextcloud-aio-mastercontainer Created Container caddy Created Container caddy Starting Container nextcloud-aio-mastercontainer Starting Container nextcloud-aio-mastercontainer Started Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting “/data/compose/2/Caddyfile” to rootfs at “/etc/caddy/Caddyfile”: mount /data/compose/2/Caddyfile:/etc/caddy/Caddyfile (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
I also tried this one, which I saw here, Caddy Docker Compose Example · nextcloud/all-in-one · Discussion #575 · GitHub
version: "3.8"
services:
caddy:
image: caddy:alpine
restart: unless-stopped
container_name: caddy
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./certs:/certs
- ./config:/config
- ./data:/data
- ./sites:/srv
network_mode: "host"
nextcloud:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
ports:
- "8080:8080"
environment:
- APACHE_PORT=11000
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- caddy
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
Error:
failed to deploy a stack: nextcloud Pulling caddy Pulling c926b61bad3b Pulling fs layer e8e26b626c27 Pulling fs layer 23427f6f19cc Pulling fs layer 938ee652f0dd Pulling fs layer 3732066280a1 Pulling fs layer 23dfeb871e9d Pulling fs layer 71442a0585dd Pulling fs layer 930182f44a16 Pulling fs layer 100698e2eb12 Pulling fs layer f1b065e10a03 Pulling fs layer ae06041d8ef4 Pulling fs layer aaa020936514 Pulling fs layer c26bb32e4e8f Pulling fs layer 62a166801194 Pulling fs layer 9fcaffbecdcc Pulling fs layer 7691336c3b78 Pulling fs layer 938ee652f0dd Waiting 99234cc7aa15 Pulling fs layer e3e95ac7ed0d Pulling fs layer 930182f44a16 Waiting 3732066280a1 Waiting 100698e2eb12 Waiting 23dfeb871e9d Waiting ae06041d8ef4 Waiting f1b065e10a03 Waiting 71442a0585dd Waiting aaa020936514 Waiting 7691336c3b78 Waiting c26bb32e4e8f Waiting 9fcaffbecdcc Waiting 62a166801194 Waiting 99234cc7aa15 Waiting e3e95ac7ed0d Waiting c926b61bad3b Downloading [> ] 34.14kB/3.402MB e8e26b626c27 Downloading [> ] 28.1kB/2.679MB 23427f6f19cc Downloading [============================> ] 720B/1.263kB 23427f6f19cc Downloading [==================================================>] 1.263kB/1.263kB 23427f6f19cc Verifying Checksum 23427f6f19cc Download complete c926b61bad3b Pulling fs layer 08886dfc0722 Pulling fs layer 6fd2155878b9 Pulling fs layer b7343593237d Pulling fs layer c926b61bad3b Downloading [> ] 34.14kB/3.402MB 08886dfc0722 Waiting 6fd2155878b9 Waiting b7343593237d Waiting c926b61bad3b Downloading [========================> ] 1.683MB/3.402MB c926b61bad3b Downloading [========================> ] 1.683MB/3.402MB e8e26b626c27 Downloading [======================> ] 1.22MB/2.679MB c926b61bad3b Downloading [=========================================> ] 2.8MB/3.402MB c926b61bad3b Downloading [=========================================> ] 2.8MB/3.402MB 938ee652f0dd Downloading [==================================================>] 269B/269B e8e26b626c27 Downloading [================================================> ] 2.604MB/2.679MB 938ee652f0dd Verifying Checksum 938ee652f0dd Download complete e8e26b626c27 Verifying Checksum e8e26b626c27 Download complete c926b61bad3b Verifying Checksum c926b61bad3b Download complete c926b61bad3b Verifying Checksum c926b61bad3b Download complete c926b61bad3b Extracting [> ] 65.54kB/3.402MB c926b61bad3b Extracting [> ] 65.54kB/3.402MB 23dfeb871e9d Downloading [==================================================>] 497B/497B 23dfeb871e9d Verifying Checksum 23dfeb871e9d Download complete 3732066280a1 Downloading [> ] 123.7kB/12.09MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB c926b61bad3b Extracting [==================================================>] 3.402MB/3.402MB 71442a0585dd Downloading [> ] 131.2kB/12.7MB c926b61bad3b Pull complete c926b61bad3b Pull complete e8e26b626c27 Extracting [> ] 32.77kB/2.679MB 3732066280a1 Downloading [=======> ] 1.814MB/12.09MB e8e26b626c27 Extracting [==================================================>] 2.679MB/2.679MB 930182f44a16 Downloading [==============> ] 719B/2.45kB 930182f44a16 Downloading [==================================================>] 2.45kB/2.45kB 71442a0585dd Downloading [=======> ] 1.841MB/12.7MB 3732066280a1 Downloading [============> ] 2.989MB/12.09MB e8e26b626c27 Pull complete 23427f6f19cc Extracting [==================================================>] 1.263kB/1.263kB 23427f6f19cc Extracting [==================================================>] 1.263kB/1.263kB 23427f6f19cc Pull complete 938ee652f0dd Extracting [==================================================>] 269B/269B 938ee652f0dd Extracting [==================================================>] 269B/269B 938ee652f0dd Pull complete 71442a0585dd Downloading [============> ] 3.156MB/12.7MB 100698e2eb12 Downloading [===> ] 1.369kB/18.95kB 100698e2eb12 Downloading [==================================================>] 18.95kB/18.95kB 100698e2eb12 Verifying Checksum 100698e2eb12 Download complete 3732066280a1 Downloading [=================> ] 4.3MB/12.09MB 71442a0585dd Downloading [=================> ] 4.496MB/12.7MB 3732066280a1 Downloading [=======================> ] 5.607MB/12.09MB f1b065e10a03 Downloading [===> ] 719B/9.177kB f1b065e10a03 Downloading [==================================================>] 9.177kB/9.177kB f1b065e10a03 Verifying Checksum f1b065e10a03 Download complete 71442a0585dd Downloading [======================> ] 5.811MB/12.7MB 3732066280a1 Downloading [============================> ] 6.917MB/12.09MB 71442a0585dd Downloading [===========================> ] 7.011MB/12.7MB ae06041d8ef4 Downloading [> ] 148kB/14.71MB 3732066280a1 Downloading [================================> ] 7.966MB/12.09MB ae06041d8ef4 Downloading [======> ] 1.948MB/14.71MB 71442a0585dd Downloading [=============================> ] 7.404MB/12.7MB 3732066280a1 Downloading [==================================> ] 8.354MB/12.09MB ae06041d8ef4 Downloading [============> ] 3.722MB/14.71MB 71442a0585dd Downloading [==============================> ] 7.797MB/12.7MB 3732066280a1 Downloading [====================================> ] 8.878MB/12.09MB ae06041d8ef4 Downloading [==================> ] 5.507MB/14.71MB 71442a0585dd Downloading [================================> ] 8.19MB/12.7MB 3732066280a1 Downloading [=====================================> ] 9.141MB/12.09MB ae06041d8ef4 Downloading [=========================> ] 7.58MB/14.71MB 71442a0585dd Downloading [=================================> ] 8.452MB/12.7MB 3732066280a1 Downloading [======================================> ] 9.403MB/12.09MB ae06041d8ef4 Downloading [================================> ] 9.681MB/14.71MB ae06041d8ef4 Downloading [========================================> ] 11.91MB/14.71MB 71442a0585dd Downloading [==================================> ] 8.723MB/12.7MB 3732066280a1 Downloading [=======================================> ] 9.665MB/12.09MB ae06041d8ef4 Downloading [===============================================> ] 14.13MB/14.71MB ae06041d8ef4 Verifying Checksum ae06041d8ef4 Download complete 71442a0585dd Downloading [===================================> ] 8.985MB/12.7MB 3732066280a1 Downloading [=========================================> ] 9.927MB/12.09MB aaa020936514 Downloading [> ] 167.3kB/16.4MB 71442a0585dd Downloading [====================================> ] 9.386MB/12.7MB 3732066280a1 Downloading [==========================================> ] 10.19MB/12.09MB aaa020936514 Downloading [======> ] 2.141MB/16.4MB 71442a0585dd Downloading [=======================================> ] 9.923MB/12.7MB 3732066280a1 Downloading [===========================================> ] 10.58MB/12.09MB aaa020936514 Downloading [===========> ] 3.758MB/16.4MB 71442a0585dd Downloading [=========================================> ] 10.59MB/12.7MB aaa020936514 Downloading [================> ] 5.372MB/16.4MB 3732066280a1 Downloading [=============================================> ] 11.11MB/12.09MB 71442a0585dd Downloading [============================================> ] 11.26MB/12.7MB aaa020936514 Downloading [====================> ] 6.81MB/16.4MB 3732066280a1 Downloading [================================================> ] 11.63MB/12.09MB 71442a0585dd Downloading [===============================================> ] 12.05MB/12.7MB 3732066280a1 Verifying Checksum 3732066280a1 Download complete 3732066280a1 Extracting [> ] 131.1kB/12.09MB aaa020936514 Downloading [========================> ] 8.067MB/16.4MB 71442a0585dd Verifying Checksum 71442a0585dd Download complete c26bb32e4e8f Downloading [==================================================>] 143B/143B c26bb32e4e8f Download complete 3732066280a1 Extracting [==================================================>] 12.09MB/12.09MB 3732066280a1 Pull complete 23dfeb871e9d Extracting [==================================================>] 497B/497B 23dfeb871e9d Extracting [==================================================>] 497B/497B 23dfeb871e9d Pull complete aaa020936514 Downloading [==============================> ] 10.05MB/16.4MB 71442a0585dd Extracting [> ] 131.1kB/12.7MB 62a166801194 Downloading [> ] 293.2kB/28.41MB 71442a0585dd Extracting [==============> ] 3.801MB/12.7MB aaa020936514 Downloading [=====================================> ] 12.38MB/16.4MB 9fcaffbecdcc Downloading [=====> ] 720B/6.564kB 9fcaffbecdcc Downloading [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Verifying Checksum 9fcaffbecdcc Download complete 71442a0585dd Extracting [=========================> ] 6.423MB/12.7MB 62a166801194 Downloading [===> ] 2.063MB/28.41MB aaa020936514 Downloading [========================================> ] 13.43MB/16.4MB 71442a0585dd Extracting [=============================> ] 7.602MB/12.7MB 62a166801194 Downloading [======> ] 3.816MB/28.41MB aaa020936514 Downloading [============================================> ] 14.51MB/16.4MB 71442a0585dd Extracting [===================================> ] 8.913MB/12.7MB 62a166801194 Downloading [=========> ] 5.573MB/28.41MB 7691336c3b78 Downloading [==================================================>] 409B/409B 7691336c3b78 Verifying Checksum 7691336c3b78 Download complete aaa020936514 Downloading [==============================================> ] 15.41MB/16.4MB 71442a0585dd Extracting [==============================================> ] 11.8MB/12.7MB 62a166801194 Downloading [=============> ] 7.637MB/28.41MB 71442a0585dd Extracting [==================================================>] 12.7MB/12.7MB 71442a0585dd Pull complete 930182f44a16 Extracting [==================================================>] 2.45kB/2.45kB 930182f44a16 Extracting [==================================================>] 2.45kB/2.45kB aaa020936514 Downloading [=================================================> ] 16.12MB/16.4MB 930182f44a16 Pull complete 100698e2eb12 Extracting [==================================================>] 18.95kB/18.95kB 100698e2eb12 Extracting [==================================================>] 18.95kB/18.95kB 100698e2eb12 Pull complete f1b065e10a03 Extracting [==================================================>] 9.177kB/9.177kB f1b065e10a03 Extracting [==================================================>] 9.177kB/9.177kB f1b065e10a03 Pull complete ae06041d8ef4 Extracting [> ] 163.8kB/14.71MB 99234cc7aa15 Downloading [==================================================>] 526B/526B 99234cc7aa15 Verifying Checksum 99234cc7aa15 Download complete aaa020936514 Verifying Checksum aaa020936514 Download complete 62a166801194 Downloading [=================> ] 9.694MB/28.41MB ae06041d8ef4 Extracting [=====================> ] 6.226MB/14.71MB e3e95ac7ed0d Downloading [================================> ] 720B/1.099kB e3e95ac7ed0d Downloading [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Verifying Checksum e3e95ac7ed0d Download complete 62a166801194 Downloading [=====================> ] 12.34MB/28.41MB 08886dfc0722 Downloading [> ] 4.669kB/350.8kB ae06041d8ef4 Extracting [====================================> ] 10.81MB/14.71MB 08886dfc0722 Download complete 08886dfc0722 Extracting [====> ] 32.77kB/350.8kB 08886dfc0722 Extracting [==================================================>] 350.8kB/350.8kB 62a166801194 Downloading [=========================> ] 14.69MB/28.41MB 08886dfc0722 Extracting [==================================================>] 350.8kB/350.8kB ae06041d8ef4 Extracting [==================================================>] 14.71MB/14.71MB ae06041d8ef4 Pull complete aaa020936514 Extracting [> ] 196.6kB/16.4MB 6fd2155878b9 Downloading [=========> ] 1.369kB/7.528kB 6fd2155878b9 Downloading [==================================================>] 7.528kB/7.528kB 6fd2155878b9 Verifying Checksum 6fd2155878b9 Download complete 08886dfc0722 Pull complete 6fd2155878b9 Extracting [==================================================>] 7.528kB/7.528kB 6fd2155878b9 Extracting [==================================================>] 7.528kB/7.528kB 6fd2155878b9 Pull complete 62a166801194 Downloading [==============================> ] 17.34MB/28.41MB aaa020936514 Extracting [================> ] 5.505MB/16.4MB b7343593237d Downloading [> ] 148kB/14.71MB aaa020936514 Extracting [=================================================> ] 16.32MB/16.4MB 62a166801194 Downloading [==================================> ] 19.69MB/28.41MB aaa020936514 Extracting [==================================================>] 16.4MB/16.4MB aaa020936514 Pull complete c26bb32e4e8f Extracting [==================================================>] 143B/143B c26bb32e4e8f Extracting [==================================================>] 143B/143B c26bb32e4e8f Pull complete b7343593237d Downloading [======> ] 1.777MB/14.71MB 62a166801194 Downloading [====================================> ] 20.57MB/28.41MB b7343593237d Downloading [=============> ] 3.861MB/14.71MB 62a166801194 Downloading [=====================================> ] 21.45MB/28.41MB b7343593237d Downloading [====================> ] 5.942MB/14.71MB 62a166801194 Downloading [=======================================> ] 22.34MB/28.41MB b7343593237d Downloading [==========================> ] 7.883MB/14.71MB 62a166801194 Downloading [========================================> ] 23.23MB/28.41MB b7343593237d Downloading [===============================> ] 9.362MB/14.71MB b7343593237d Downloading [======================================> ] 11.43MB/14.71MB 62a166801194 Downloading [==========================================> ] 24.11MB/28.41MB b7343593237d Downloading [=============================================> ] 13.51MB/14.71MB 62a166801194 Downloading [===========================================> ] 24.7MB/28.41MB b7343593237d Verifying Checksum b7343593237d Download complete b7343593237d Extracting [> ] 163.8kB/14.71MB 62a166801194 Downloading [==============================================> ] 26.17MB/28.41MB b7343593237d Extracting [=====================> ] 6.39MB/14.71MB 62a166801194 Verifying Checksum 62a166801194 Download complete 62a166801194 Extracting [> ] 294.9kB/28.41MB b7343593237d Extracting [====================================> ] 10.65MB/14.71MB 62a166801194 Extracting [=====> ] 2.949MB/28.41MB b7343593237d Extracting [==================================================>] 14.71MB/14.71MB b7343593237d Pull complete caddy Pulled 62a166801194 Extracting [===========> ] 6.488MB/28.41MB 62a166801194 Extracting [===================> ] 11.21MB/28.41MB 62a166801194 Extracting [=======================> ] 13.57MB/28.41MB 62a166801194 Extracting [================================> ] 18.58MB/28.41MB 62a166801194 Extracting [====================================> ] 20.94MB/28.41MB 62a166801194 Extracting [========================================> ] 23MB/28.41MB 62a166801194 Extracting [============================================> ] 25.07MB/28.41MB 62a166801194 Extracting [=================================================> ] 28.31MB/28.41MB 62a166801194 Extracting [==================================================>] 28.41MB/28.41MB 62a166801194 Pull complete 9fcaffbecdcc Extracting [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Extracting [==================================================>] 6.564kB/6.564kB 9fcaffbecdcc Pull complete 7691336c3b78 Extracting [==================================================>] 409B/409B 7691336c3b78 Extracting [==================================================>] 409B/409B 7691336c3b78 Pull complete 99234cc7aa15 Extracting [==================================================>] 526B/526B 99234cc7aa15 Extracting [==================================================>] 526B/526B 99234cc7aa15 Pull complete e3e95ac7ed0d Extracting [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Extracting [==================================================>] 1.099kB/1.099kB e3e95ac7ed0d Pull complete nextcloud Pulled Network nextcloud_aio_mastercontainer_default Creating Network nextcloud_aio_mastercontainer_default Created Volume “nextcloud_aio_mastercontainer” Creating Volume “nextcloud_aio_mastercontainer” Created Container caddy Creating Container caddy Created Container nextcloud-aio-mastercontainer Creating Container nextcloud-aio-mastercontainer Created Container caddy Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting “/data/compose/2/Caddyfile” to rootfs at “/etc/caddy/Caddyfile”: mount /data/compose/2/Caddyfile:/etc/caddy/Caddyfile (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type