forked from josch/mmdebstrap
document how to use mmdebstrap to create a docker chroot
This commit is contained in:
parent
4693034138
commit
205f5c2692
1 changed files with 8 additions and 0 deletions
|
@ -6690,6 +6690,14 @@ inside the chroot.
|
||||||
--customize-hook='sync-out /var/cache/apt/archives ./cache' \
|
--customize-hook='sync-out /var/cache/apt/archives ./cache' \
|
||||||
unstable /dev/null
|
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
|
=head1 ENVIRONMENT VARIABLES
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
Loading…
Reference in a new issue