No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
grub.cfg
run-qemu-test.sh

README.md

ubuntu-rootfs

A base Ubuntu rootfs image designed to be bootable in a VM rather than simply a container.

Usage

May be used with Dockerized qemu-rootfs runner.

$ docker build --tag qemu-ubuntu - <<EOF
FROM joshpeek/ubuntu-rootfs as rootfs

# Customize your rootfs
RUN apt-get update && apt-get install -y curl

FROM joshpeek/qemu-rootfs
COPY --from=rootfs / /rootfs
EOF

$ docker run --rm -it qemu-ubuntu

Testing

Requires Ubuntu.

$ sudo apt-get install qemu libguestfs-tools
$ git clone https://github.com/josh/ubuntu-rootfs
$ cd ubuntu-rootfs/
$ ./run-qemu-test.sh