document mmdebstrap as docker/podman replacement

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-10-20 23:10:50 +02:00
parent c61e81a244
commit 3b41fe6805
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -6979,6 +6979,17 @@ Create a system that can be used with podman:
root root
$ podman rmi debian $ podman rmi debian
As a docker/podman replacement:
$ mmdebstrap unstable | mmtarfilter --path-exclude='/dev/*' > chroot.tar
[...]
$ mmdebstrap --variant=custom --skip=update \
--setup-hook='tar-in chroot.tar /' \
--customize-hook='chroot "$1" whoami' unstable /dev/null
[...]
root
$ rm chroot.tar
=head1 ENVIRONMENT VARIABLES =head1 ENVIRONMENT VARIABLES
=over 8 =over 8