From 63545126c2fcaf85f5f461c011b324e3161ef2c0 Mon Sep 17 00:00:00 2001 From: Will Refvem Date: Tue, 27 Aug 2024 21:01:32 -0400 Subject: [PATCH] Clarify podman machine volume mounting behavior under WSL Signed-off-by: Will Refvem --- docs/source/markdown/podman-machine-init.1.md.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/markdown/podman-machine-init.1.md.in b/docs/source/markdown/podman-machine-init.1.md.in index ccecf110e5..9623845234 100644 --- a/docs/source/markdown/podman-machine-init.1.md.in +++ b/docs/source/markdown/podman-machine-init.1.md.in @@ -160,6 +160,11 @@ Example: `-v "$HOME/git:$HOME/git:ro,security_model=none"` Default volume mounts are defined in *containers.conf*. Unless changed, the default values is `$HOME:$HOME`. +**Note on Windows Subsystem for Linux (WSL)** +Since all drives are mounted at `/mnt` on startup by default in WSL, passing +`--volume` is redundant and has no effect. The host home directory for a `C:` +drive will be mounted at `/mnt/c/Users/`. + ## EXAMPLES Initialize the default Podman machine, pulling the content from the internet.