Search
Categories
Podman | change location storage
Open ps :
check list, with name machine, eg podman1 (if podman-machine-default remove podman1 in command no agur –import and –export –unregister)
wsl -l -v
stop machine
podman machine stop podman1
the VM should be in a folder podman1 under %USERPROFILE%\.local\share\containers\podman\machine\wsl\wsldist\
copy this folder (not just vhdx) to your other drive such as D:\DevTools\podman-dist\ (no move, just copy)
make sure you have backups, then apply, this will delete original vhdx, so be careful not to use wrong name
wsl --unregister podman1
re-register podman1
wsl --import-in-place podman1 d:\DevTools\podman-dist\podman1\ext4.vhdx
Khởi động lại podman
podman machine start podman1
01.
