Merge pull request #1994 from gisostallenberg/patch-2

Improve command to run in docker
This commit is contained in:
Kubernetes Prow Robot 2025-03-13 14:53:46 -07:00 committed by GitHub
commit 1c8109e980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,5 +95,5 @@ docker build -t kompose https://github.com/kubernetes/kompose.git\#main
To run the built image against the current directory, run the following command: To run the built image against the current directory, run the following command:
```bash ```bash
docker run --rm -it -v $PWD:/opt kompose sh -c "cd /opt && kompose convert" docker run --rm -it -v $PWD:/opt -w /opt kompose kompose convert
``` ```