CloudDrive is a powerful multi-cloud drive management tool with local mounting of cloud drives.
1M+
CloudDrive is a powerful multi-cloud drive management tool, providing users with a one-stop multi-cloud drive solution that includes local mounting of cloud drives
Supported Architectures
| Architecture | Tag |
|---|---|
| x86-64 | amd64 |
| arm64 | arm64 |
| armv7 | arm32 |
Clouddrive2 uses fuse3 to mount cloud storages, to enable fuse in docker container and share fuse mounts to host, one of the following options should be set in host:
#mkdir -p /etc/systemd/system/docker.service.d/
#cat <<EOF > /etc/systemd/system/docker.service.d/clear_mount_propagation_flags.conf
[Service]
MountFlags=shared
EOF
#mount --make-shared <volume contains the path to accept cloud mounts>
----
version: "2.1"
services:
cloudnas:
image: cloudnas/clouddrive2-unstable
container_name: clouddrive2
environment:
- TZ=Asia/Shanghai
- CLOUDDRIVE_HOME=/Config
volumes:
- <path to accept cloud mounts>:/CloudNAS:shared
- <path to app data>:/Config
- <other local shared path>:/media:shared #optional media path of host
devices:
- /dev/fuse:/dev/fuse
restart: unless-stopped
pid: "host"
privileged: true #or you can try capp_add -SYS_ADMIN
#cap_add: #SYS_ADMIN cap may fail on some OSes, use privileged: true instead
# - SYS_ADMIN
network_mode: "host" #if network_mode doesn't work, use port mapping
#ports:
# - 19798:19798
docker run -d \
--name clouddrive \
--restart unless-stopped \
--env CLOUDDRIVE_HOME=/Config \
-v <path to accept cloud mounts>:/CloudNAS:shared \
-v <path to app data>:/Config \
-v <other local shared path>:/media:shared \
--network host \
--pid host \
--privileged \
--device /dev/fuse:/dev/fuse \
cloudnas/clouddrive2-unstable
http://<ip>:19798
Content type
Image
Digest
sha256:2e5e4cf81…
Size
20 MB
Last updated
4 days ago
docker pull cloudnas/clouddrive2:1.0.12