1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-05 09:45:14 +01:00

docs(README): use the host network in docker example (#395)

Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
This commit is contained in:
Prashant Shahi
2022-03-14 14:40:06 +05:30
committed by GitHub
parent 4c4e8aa126
commit c255a37bc3

View File

@@ -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.