mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
265 B
12 lines
265 B
5 years ago
|
#!/bin/sh
|
||
|
docker stop onedrive
|
||
|
docker rm onedrive
|
||
|
docker pull oznu/onedrive:latest
|
||
|
docker run --name onedrive \
|
||
|
--restart unless-stopped \
|
||
|
-v onedrive_config:/config \
|
||
|
-v onedrive_doc:/documents \
|
||
|
-e PUID=$(id -u) \
|
||
|
-e PGID=$(id -g) \
|
||
|
-d oznu/onedrive:latest
|