J'essaye de faire un docker-compose d'un NextCloud AIO, mais j'ai des erreurs et le docker reboot.
Voici la config
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed
services:
nextcloud:
image: nextcloud/all-in-one:latest # Must be changed to 'nextcloud/all-in-one:latest-arm64' when used with an arm64 CPU
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation
ports:
- 8080:8080
environment:
- APACHE_PORT=11000 # Is needed when running behind a reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
- NEXTCLOUD_DATADIR=/volume1/docker/nextcloud/data # Allows to set the host directory for Nextcloud's datadir. See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
- NEXTCLOUD_MOUNT=/volume1/docker/nextcloud # 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
- SKIP_DOMAIN_VALIDATION=true
Voici l'erreur
2024/05/30 10:55:43 stdout Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:55:43 stdout You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:55:43 stdout Most likely the DNS resolving does not work.
2024/05/30 10:55:42 stdout [0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:55:29 stderr WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:55:29 stderr WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:55:29 stderr WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:55:29 stderr WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:55:29 stderr WARNING: No cpu cfs period support
2024/05/30 10:55:29 stderr WARNING: No cpu cfs quota support
2024/05/30 10:55:29 stderr WARNING: No kernel memory TCP limit support
2024/05/30 10:55:20 stdout Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:55:20 stdout You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:55:20 stdout Most likely the DNS resolving does not work.
2024/05/30 10:55:20 stdout [0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:55:06 stderr WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:55:06 stderr WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:55:06 stderr WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:55:06 stderr WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:55:06 stderr WARNING: No cpu cfs period support
2024/05/30 10:55:06 stderr WARNING: No cpu cfs quota support
2024/05/30 10:55:06 stderr WARNING: No kernel memory TCP limit support
2024/05/30 10:54:57 stdout Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:54:57 stdout You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:54:57 stdout Most likely the DNS resolving does not work.
2024/05/30 10:54:57 stdout [0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:54:46 stderr WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:54:46 stderr WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:54:46 stderr WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:54:46 stderr WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:54:46 stderr WARNING: No cpu cfs period support
2024/05/30 10:54:46 stderr WARNING: No cpu cfs quota support
2024/05/30 10:54:46 stderr WARNING: No kernel memory TCP limit support
2024/05/30 10:54:36 stdout If you are on docker swarm and try to run AIO, see https://github.com/nextcloud/all-in-one#can-i-run-this-with-docker-swarm[0m
2024/05/30 10:54:36 stdout Using a different name is not supported since mastercontainer updates will not work in that case!
2024/05/30 10:54:36 stdout [0;31mIt seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.)
2024/05/30 10:54:36 stderr WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:54:36 stderr WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:54:36 stderr WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:54:36 stderr WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:54:36 stderr WARNING: No cpu cfs period support
2024/05/30 10:54:36 stderr WARNING: No cpu cfs quota support
2024/05/30 10:54:36 stderr WARNING: No kernel memory TCP limit support
Je ne trouve pas l'erreur :-(