document how to use mmdebstrap to create a docker chroot

This commit is contained in:
Johannes 'josch' Schauer 2021-01-13 18:08:04 +01:00
parent 4693034138
commit 205f5c2692
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -6690,6 +6690,14 @@ inside the chroot.
--customize-hook='sync-out /var/cache/apt/archives ./cache' \
unstable /dev/null
Create a system that can be used with docker:
$ mmdebstrap unstable | sudo docker import - debian
[...]
$ sudo docker run -it --rm debian whoami
root
$ sudo docker rmi debian
=head1 ENVIRONMENT VARIABLES
=over 8