forked from LaconicNetwork/kompose
Merge pull request #1994 from gisostallenberg/patch-2
Improve command to run in docker
This commit is contained in:
commit
1c8109e980
@ -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
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue
Block a user