From 2750e849f16ca7184d6b4d0e99e6da34afffce52 Mon Sep 17 00:00:00 2001 From: Davi Marcondes Moreira Date: Fri, 18 Jun 2021 23:14:18 -0300 Subject: [PATCH] fix: instruction for Docker usage Added the missing `-w` flag, which is required for the command execution to recognize where the working directory is - and where the CircleCI config is :wink: --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f01bc0d73..d27179bf9 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Config file at .circleci/config.yml is valid The CLI may also be used without installation by using Docker. ``` -docker run --rm -v $(pwd):/data circleci/circleci-cli:alpine config validate /data/.circleci/config.yml --token $TOKEN +docker run --rm -v $(pwd):/data -w /data circleci/circleci-cli:alpine config validate /data/.circleci/config.yml --token $TOKEN ``` ## circleci-agent