update hacking-guide with imagebuilder troubleshooting instructions
@@ -218,7 +218,7 @@ Checkout the machine-api-operator repo.
Run `make generate`.
## How to use something other than Docker to run make targets
-Make targets can be run outide cointainer when the `NO_DOCKER=1` is set.
+Make targets can be run outside of a container when the `NO_DOCKER=1` is set.
For running make targets inside containers:
* targets will run `podman` as the default engine,
* if `podman` is not installed, targets will use `docker`
@@ -230,7 +230,21 @@ To fix this, run:
```
./hack/owner_reset.sh
```
-*Note* : Changing owners with this script requires user to have sudo priviliges.
+*Note* : Changing owners with this script requires user to have sudo privileges.
+
+Running `make images NO_DOCKER=1` without having `docker-deamon` running on your machine fails. Reason for this is that [openshift/imagebuilder](https://github.com/openshift/imagebuilder) is being used to build images and it requires docker-deamon.
+To solve this, run:
+```
+sudo podman system service --time=0 unix:///var/run/docker.sock
+```
+then, to get imagebuilder, run:
+```
+./hack/imagebuilder.sh
+```
+and to finally build the images run:
+```
+sudo $GOPATH/bin/imagebuilder -t "origin-aws-machine-controllers:$(git describe --always --abbrev=7)" -t "origin-aws-machine-controllers:latest" ./
+```
## Some links to the CI configuration
TODO
