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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user