forked from TrueCloudLab/rclone
docs: update install with docker interactive use
* Install with docker: interactive use * remove extra mount from command * update listremotes
This commit is contained in:
parent
19f9fca2f6
commit
e98b61ceeb
1 changed files with 7 additions and 1 deletions
|
@ -263,10 +263,16 @@ Here are some commands tested on an Ubuntu 18.04.3 host:
|
||||||
# config on host at ~/.config/rclone/rclone.conf
|
# config on host at ~/.config/rclone/rclone.conf
|
||||||
# data on host at ~/data
|
# data on host at ~/data
|
||||||
|
|
||||||
|
# add a remote interactively
|
||||||
|
docker run --rm -it \
|
||||||
|
--volume ~/.config/rclone:/config/rclone \
|
||||||
|
--user $(id -u):$(id -g) \
|
||||||
|
rclone/rclone \
|
||||||
|
config
|
||||||
|
|
||||||
# make sure the config is ok by listing the remotes
|
# make sure the config is ok by listing the remotes
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--volume ~/.config/rclone:/config/rclone \
|
--volume ~/.config/rclone:/config/rclone \
|
||||||
--volume ~/data:/data:shared \
|
|
||||||
--user $(id -u):$(id -g) \
|
--user $(id -u):$(id -g) \
|
||||||
rclone/rclone \
|
rclone/rclone \
|
||||||
listremotes
|
listremotes
|
||||||
|
|
Loading…
Add table
Reference in a new issue