From 7c0c08420c4dadbeb154b9f3e076d64519b134ef Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sun, 3 Mar 2024 16:19:08 +0000 Subject: [PATCH] run ccm in a container --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 7abe1019..98ef8b12 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,14 @@ cd cloud-provider-kind && make sudo mv .bin//cloud-provider-kind /usr/local/bin/cloud-provider-kind ``` +Another alternative is to run it as a container, but this will require to mount +the docker socket inside the container: + +```sh +docker build . -t aojea/cloud-provider-kind:v0.1 +docker run --rm --network host -v /var/run/docker.sock:/var/run/docker.sock aojea/cloud-provider-kind:v0.1 +``` + ## How to use it Run a KIND cluster: