c12s-kubespray/test-infra/vagrant-docker
2020-04-18 13:53:36 -07:00
..
build.sh Add Dockerfile for vagrant image (#5977) 2020-04-18 13:53:36 -07:00
Dockerfile Add Dockerfile for vagrant image (#5977) 2020-04-18 13:53:36 -07:00
README.md Add Dockerfile for vagrant image (#5977) 2020-04-18 13:53:36 -07:00

vagrant docker image

This image is used for the vagrant CI jobs. It is using the libvirt driver.

Usage

$ docker run --net host --rm -it -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock quay.io/kubespray/vagrant
$ vagrant up
Bringing machine 'k8s-1' up with 'libvirt' provider...
Bringing machine 'k8s-2' up with 'libvirt' provider...
Bringing machine 'k8s-3' up with 'libvirt' provider...
[...]

Cache

You can set /root/kubespray_cache as a volume to keep cache between runs.

Building

./build.sh v2.12.5