mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
add nextcloud-client
This commit is contained in:
7
nextcloud-client/Dockerfile
Normal file
7
nextcloud-client/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
FROM alpine:3.10
|
||||||
|
|
||||||
|
MAINTAINER Newnius <newnius.cn@gmail.com>
|
||||||
|
|
||||||
|
RUN apk add --no-cache nextcloud-client
|
||||||
|
|
||||||
|
CMD ["nextcloudcmd", "--help"]
|
||||||
14
nextcloud-client/README.md
Normal file
14
nextcloud-client/README.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user