diff --git a/nextcloud-client/Dockerfile b/nextcloud-client/Dockerfile new file mode 100644 index 0000000..189e14e --- /dev/null +++ b/nextcloud-client/Dockerfile @@ -0,0 +1,7 @@ +FROM alpine:3.10 + +MAINTAINER Newnius + +RUN apk add --no-cache nextcloud-client + +CMD ["nextcloudcmd", "--help"] diff --git a/nextcloud-client/README.md b/nextcloud-client/README.md new file mode 100644 index 0000000..a73ceb2 --- /dev/null +++ b/nextcloud-client/README.md @@ -0,0 +1,14 @@ +# Run Nextcloud Client in docker + +## What is `Nextcloud` + + +``` +docker run \ + -it \ + --rm \ + --name nextcloud-client \ + --mount type=bind,source=/path/to/file,target=/data \ + newnius/nextcloud-client nextcloudcmd -u $USER -p $PASSWORD /data https://demo.nextcloud.com/remote.php/webdav/dir +``` +