metal-stack / mini-lab

a small, virtual setup to locally run the metal-stack
MIT License
55 stars 13 forks source link

allow to build/push images into the leaf VM #160

Closed ulrichSchreiner closed 2 months ago

ulrichSchreiner commented 2 months ago

This PR allows the local developer to do

$ make ssh-leafconfig
$ eval `make docker-leaf01` 

and now the DOCKER_HOST points to the docker daemon of leaf01. One can now build local images (for example a test-image of metal-core) and build this image inside the leaf01. After a restart of the service inside the VM one can test the image without using a custom registry or pushing untested changes to build a public image.