- Scripted generation of an Arch Linux docker image:
$ cd lib/arch-install-scripts
$ make
$ cd ../../
$ sudo ./mkimage-arch.sh
- Creating a
custom
image, based on the above one (authorized_keys
andkey
need to be properly set, e.g. withssh-keygen
):
$ docker build -t custom .
The container is then started with vagrant up
and may be accessed with vagrant ssh
.