From 3a099cfc1017f0a710ced0a45c6715e3ce2f65bb Mon Sep 17 00:00:00 2001 From: Giso Stallenberg Date: Thu, 6 Feb 2025 16:33:59 +0100 Subject: [PATCH] Improve command to run in docker Using a working dir avoids the need for a cd command call --- docs/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 6dd61cc6..1833b215 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -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: ```bash -docker run --rm -it -v $PWD:/opt kompose sh -c "cd /opt && kompose convert" -``` \ No newline at end of file +docker run --rm -it -v $PWD:/opt -w /opt kompose kompose convert +```