Skip to content

Commit

Permalink
fix: instruction for Docker usage
Browse files Browse the repository at this point in the history
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 😉
  • Loading branch information
devdrops committed Jun 19, 2021
1 parent 850f9ac commit 2750e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2750e84

Please sign in to comment.