Robert Aboukhalil 4928c9165d (breaking change) replace *-output-char with *-output-byte (#928) | 1 سال پیش | |
---|---|---|
.. | ||
Dockerfile | 1 سال پیش | |
Readme.md | 2 سال پیش | |
boot-9p | 3 سال پیش | |
build-container.sh | 2 سال پیش | |
build-state.js | 1 سال پیش | |
getty-autologin-serial.conf | 3 سال پیش | |
getty-noclear.conf | 3 سال پیش | |
getty-override.conf | 3 سال پیش | |
logind.conf | 3 سال پیش | |
networking.sh | 3 سال پیش | |
xorg.conf | 3 سال پیش |
You can build a Linux image for use with v86:
./build-container.sh
to build the Docker container and v86 images (requires dockerd)./build-state.js
to build a state image in order to skip the boot processdebian-state-base.bin
file using zstd (v86 automatically detects the zstd magic and decompresses on the fly)examples/debian.html
in a browserIf you want to see more info you can run it in a debug mode, to do so add a new profile in the src/browser/main.js
file to the oses
variable like so:
var oses = [
{
id: "debian",
name: "Debian",
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
state: { url: host + "debian-state-base.bin" },
filesystem: { baseurl: host + "debian-9p-rootfs-flat/" }
},
...
Save it and go to debug.html?profile=debian
to start the generated container.
You can modify the Dockerfile
to customize the generated Linux image.