forked from josch/mmdebstrap
document mmdebstrap as docker/podman replacement
This commit is contained in:
parent
c61e81a244
commit
3b41fe6805
1 changed files with 11 additions and 0 deletions
11
mmdebstrap
11
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
|
||||
|
|
Loading…
Reference in a new issue