From 5b26c647954aeb98dcf8d210d61c3ade40bab234 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Thu, 5 Dec 2024 14:15:05 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aaaec3f1..4b6f26b3 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ docker pull xorio42/rencfs Start a container to set up mount in it ```bash -docker run -v ~/Downloads:/Downloads -it --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined xorio42/rencfs:latest /bin/sh +docker run -v ~/Downloads:/share -it --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined xorio42/rencfs:latest /bin/sh ``` **Replace `~/Downloads` with a path you want to share with the container.** @@ -194,6 +194,14 @@ echo "test" > 1/test cat 1/test ``` +You can also copy files from `/share`. + +```bash +cd mnt +cp /share/file1.txt . +file file1.txt +``` + ## As a library For the library, you can follow the [documentation](https://docs.rs/rencfs/latest/rencfs/).