From 205f5c2692f5ca394f1363e209dbe1d1a801109b Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 13 Jan 2021 18:08:04 +0100 Subject: [PATCH] document how to use mmdebstrap to create a docker chroot --- mmdebstrap | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index f1dc4a2..8315ec5 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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