From 3b41fe6805c13928db4502ec8f7792363d310d30 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Wed, 20 Oct 2021 23:10:50 +0200 Subject: [PATCH] document mmdebstrap as docker/podman replacement --- mmdebstrap | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index 14060c7..2d88606 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6979,6 +6979,17 @@ Create a system that can be used with podman: root $ 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 =over 8