mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
Merge pull request #23779 from wbrefvem/wsl-volume-docs
Clarify podman machine volume mounting behavior under WSL
This commit is contained 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
|
Default volume mounts are defined in *containers.conf*. Unless changed, the default values
|
||||||
is `$HOME:$HOME`.
|
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/<my username>`.
|
||||||
|
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
Initialize the default Podman machine, pulling the content from the internet.
|
Initialize the default Podman machine, pulling the content from the internet.
|
||||||
|
|||||||
Reference in New Issue
Block a user