Provides an alpine based image for syncing your files with a remote nextcloud server.
266
docker run -it --rm \
-v $(pwd)/sync-folder:/media/nextcloud \
-e NC_USER=$username -e NC_PASS=$password \
-e NC_URL=$server_url\
juanitomint/nextcloud-client
docker run -it --rm \
-v $(pwd)/sync-folder:/media/nextcloud \
-v /path/to/settingsfolder:/settings \
-e NC_USER=$username -e NC_PASS=$password \
-e NC_URL=$server_url\
juanitomint/nextcloud-client
file1
file2
folder1
folder2
docker run -it --rm \
-v some_named_volume:/media/nextcloud \
-e NC_USER=$username -e NC_PASS=$password \
-e NC_URL=$server_url\
juanitomint/nextcloud-client
docker run -it --rm \
-v some_named_volume:/media/nextcloud \
-e NC_USER=$username -e NC_PASS=$password \
-e NC_URL=$server_url\
-e NC_EXIT=true\
juanitomint/nextcloud-client
replace:
with valid values for an existing and valid user on a Nextcloud Server.
URL to the Nextcloud instance. Specify only the base URL of your host. Example: https://cloud.example.com.
The user name to log in Default: username
Valid password for the user above in clear text Default: password
The directory inside de docker container to be synced, usually you will have a local mount here or a named volume default: /media/nextcloud/
You can sync specific folders by providing the full path like /path/to/custom/dir. This will only sync the contents of this folder inside $NC_SOURCE_DIR.
default: "" i.e. root folder
whether or not output activity to console default: false
Sets the interval between syncs in seconds default: 300 (300 /60 = 5 Minutes)
If "true" the sync will happen once and then the container will exit, very usefull for using in conjunction with cron or schedulers default: false example:
The system user inside the container you want to use for runing the sync
default: ncsync
The system user group id inside the container you want to use for runing the sync
default: 1000
The system user id inside the container you want to use for runing the sync
default: 1000
whether or not trust self signed certificates or invalid certificates
default: false
whether or not nextcloud should be forced to sync hidden files
default: false
Content type
Image
Digest
sha256:e2bbcfb67…
Size
237.7 MB
Last updated
almost 2 years ago
docker pull volkerhaensel/nextcloud-client