From 768f83d7cda8c85240b9d4b829d56c51066715f0 Mon Sep 17 00:00:00 2001 From: Kenny Rasschaert Date: Wed, 7 Feb 2024 11:22:42 +0100 Subject: [PATCH] documentation: dgoss on mac needs DGOSS_TEMP_DIR --- extras/dgoss/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extras/dgoss/README.md b/extras/dgoss/README.md index e4a8941d5..5fa686dc6 100644 --- a/extras/dgoss/README.md +++ b/extras/dgoss/README.md @@ -26,6 +26,9 @@ curl -L https://github.com/goss-org/goss/releases/download/v0.3.6/goss-linux-amd # Set your GOSS_PATH to the above location export GOSS_PATH=~/Downloads/goss-linux-amd64 +# Set DGOSS_TEMP_DIR to the tmp directory in your home, since /tmp is private on Mac OSX +export DGOSS_TEMP_DIR=~/tmp + # Use dgoss dgoss edit ... dgoss run ... @@ -106,4 +109,4 @@ Location of the file that contains tested container logs. Logs are retained only Location of the temporary directory used by dgoss. (Default `'$(mktemp -d /tmp/tmp.XXXXXXXXXX)'`) ##### CONTAINER_RUNTIME -Container runtime to use - `docker` or `podman`. Defaults to `docker`. Note that `podman` requires a run command to keep the container running. This defaults to `sleep infinity` in case only an image is passed to `dgoss` commands. \ No newline at end of file +Container runtime to use - `docker` or `podman`. Defaults to `docker`. Note that `podman` requires a run command to keep the container running. This defaults to `sleep infinity` in case only an image is passed to `dgoss` commands.