This image provides the guestfish
program from libguestfs
To "install", run make install
, or copy the guestfi.sh
script to $PATH
and make it executable:
cp scripts/guestfi.sh /usr/local/bin/guestfi.sh
chmod +x /usr/local/bin/guestfi.sh
The guestfi.sh
script runs the image with -v $(PWD):/work
, which is the WORKDIR
of the
image. This lets you use guestfi.sh
just as you would if you installed guestfish
.
- Run
./scripts/cli.sh
- In the container, run
guestfish
`./scripts/docker-import-img.sh <path-to-img> <docker-img-tag>`
If you have make
installed, use:
make container
If you don't have make
installed, build normally with docker:
docker build -t cmattoon/guestfish .