From c255a37bc362b332196c39d126cbaf641b51b454 Mon Sep 17 00:00:00 2001 From: Prashant Shahi Date: Mon, 14 Mar 2022 14:40:06 +0530 Subject: [PATCH] docs(README): use the host network in docker example (#395) Signed-off-by: Prashant Shahi --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc5577d1..63dcf9f8 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ If you have a chart in current directory and ct installed on the host then you c With docker it works with: - docker run -it --workdir=/data --volume ~/.kube/config:/root/.kube/config:ro --volume $(pwd):/data quay.io/helmpack/chart-testing:v3.5.0 ct install --chart-dirs . --charts . + docker run -it --network host --workdir=/data --volume ~/.kube/config:/root/.kube/config:ro --volume $(pwd):/data quay.io/helmpack/chart-testing:v3.5.0 ct install --chart-dirs . --charts . Notice that `workdir` param is important and must be the same as volume mounted.