Create a proper alpine chroot from a live alpine iso.
Go to file
Clayton Voges fd82804710 Updated readme with install and config sections 2021-08-30 06:31:00 +00:00
ANSWERFILE First commit 2021-08-29 21:48:18 +00:00
README.md Updated readme with install and config sections 2021-08-30 06:31:00 +00:00
alpine_init.sh Bug fixes 2021-08-30 06:21:30 +00:00
chroot_init.sh Bug fixes 2021-08-30 06:21:30 +00:00

README.md

Alpine Chroot

Installation

To create a base alpine chroot on any alpine system, run:

chmod +x *.sh
./alpine_init.sh

But this is assuming your current working directory is the directory of the cloned repository.

When it is your first time in the chroot, run:

./chroot_init.sh

Usage

Most people will go "into" the chroot via:

chroot /mnt/chroot sh

But you must remember that you can just as well run any program in the chroot as:

chroot /mnt/chroot <program>

Because chroots are not jails, containers, or sandboxes. They simply change what the system sees as the "root" point of the file system.