-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for podman add nodejs with hello world as example package add missing modules=virtio_pci to fix boot process
- Loading branch information
Showing
4 changed files
with
25 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
You can build a Alpine Linux 9p image using Docker: | ||
|
||
1. As needed, kernel flavor (`virt` is smaller than `lts`, but don't have networking) and set of additional packages (community repo is enabled by default) can be edited in `Dockerfile`. | ||
2. Run `./start-container.sh` with started dockerd. | ||
3. Configure V86 options (you can use `examples/arch.html` or `examples/debian.html` as template) or add profile in `src/browser/main.js` (see `tools/docker/debian/Readme.md`) and run local webserver (`make run`). | ||
1. As needed, kernel flavor (`virt` is smaller than `lts`, but don't have networking) and set of additional packages (community repo is enabled by default) can be edited in `Dockerfile` | ||
2. Run `./start-container.sh` with started dockerd (podman works) | ||
3. Configure V86 options (you can use `examples/arch.html` or `examples/debian.html` as template) or add profile in `src/browser/main.js` (see `tools/docker/debian/Readme.md`) and run local webserver (`make run`) | ||
|
||
```js | ||
filesystem: { | ||
baseurl: "../images/alpine-rootfs-flat", | ||
basefs: "../images/alpine-fs.json" | ||
}, | ||
|
||
bzimage_initrd_from_filesystem: true, | ||
|
||
cmdline: [ | ||
"rw", | ||
"root=host9p rootfstype=9p rootflags=trans=virtio,cache=loose", | ||
"root=host9p rootfstype=9p rootflags=trans=virtio,cache=loose modules=virtio_pci", | ||
"tsc=reliable nowatchdog" | ||
].join(" ") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters