c12s-kubespray/test-infra/vagrant-docker/README.md
2020-04-18 13:53:36 -07:00

24 lines
565 B
Markdown

# vagrant docker image
This image is used for the vagrant CI jobs. It is using the libvirt driver.
## Usage
```console
$ 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
```shell
./build.sh v2.12.5
```