rmohr / qemu-dockerized

test
Apache License 2.0
2 stars 2 forks source link

Add --random-ports to let docker do the port selection #21

Closed rmohr closed 6 years ago

rmohr commented 6 years ago

User "cli port [k8s|ocp|ssh|registry]" to get the assigned ports.

Signed-off-by: Roman Mohr rmohr@redhat.com

cynepco3hahue commented 6 years ago

lgtm, I think we can to change providers to use random ports and fetch the relevant port(k8s, openshift and registry on runtime)

rmohr commented 6 years ago

lgtm, I think we can to change providers to use random ports and fetch the relevant port(k8s, openshift and registry on runtime)

Exactly. PR is here: https://github.com/kubevirt/kubevirt/pull/822/

cynepco3hahue commented 6 years ago

because under docker documentation they write explicitly Do not attempt to use overlay2 with kernel versions older than 3.10.0-693.

cynepco3hahue commented 6 years ago

By the way, all these battles with windmills just show that use of pre-baked images it is a very good idea :+1:

rmohr commented 6 years ago

because under docker documentation they write explicitly Do not attempt to use overlay2 with kernel versions older than 3.10.0-693.

The newer centos version used docker 1.13.1 with overlayfs2. Now we use 1.12.6 with devicemapper and loopback inside the vm. We can improve that later. Also it can be that docker 1.13.1 works fine and we would just have to disable the metdown and spectre fixes inside our vms to solve all our issues. We will see.

cynepco3hahue commented 6 years ago

Cool that what I wanted to know :smile: