Skip to content

Commit

Permalink
Update usage.md (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbenv authored May 11, 2021
1 parent 669631a commit 9ac1667
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ $ terrascan
```

### Using Docker
Terrascan is available as a Docker image and can used as follows:
Terrascan is available as a Docker image. To run as a server mode, simply run:

``` Bash
$ docker run accurics/terrascan
```

To run in CLI mode, use the following command:

``` Bash
$ docker run --rm -it --volume PATH/:/DATA accurics/terrascan:latest scan -d /DATA/
```



### Building Terrascan
Terrascan can be built locally. This is helpful if you want to be on the latest version or when developing Terrascan.

Expand Down

0 comments on commit 9ac1667

Please sign in to comment.