`libguestfs` with tools based on Alpine
393
libguestfs in Dockerlibguestfs and its tools in a minimal Alpine-based Docker image. Usable in Mac OS.
The target VM image needs to be mounted into the container.
Example wrapper scripts are provided.
guestfish Sessiondocker run \
--interactive \
--tty \
--privileged `# for QEMU KVM` \
--mount "type=bind,source=${dir},target=/mnt" \
maximsmol/libguestfs:latest \
guestfish \
--rw \
--add "/mnt/${base}" \
--inspector
docker run \
--privileged `# for QEMU KVM` \
--mount "type=bind,source=${dir},target=/mnt" \
--mount "type=bind,source=${src},target=/src/${src_base}" \
maximsmol/libguestfs:latest \
guestfish \
--rw \
--add "/mnt/${base}" \
--inspector \
<<EOF
copy-in "/src/${src_base}" "${dst}"
umount-all
EOF
Content type
Image
Digest
sha256:5bc1b0fd0…
Size
258 MB
Last updated
almost 2 years ago
docker pull maximsmol/libguestfs