Merge pull request #96 from pcgeek86/patch-2
Add Docker instructions to README
This commit is contained in:
commit
667581b005
13
README.md
13
README.md
|
@ -40,6 +40,19 @@ or
|
||||||
|
|
||||||
[Download .exe](https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-windows-amd64.exe)
|
[Download .exe](https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-windows-amd64.exe)
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
```
|
||||||
|
# Create a configuration file
|
||||||
|
vim config.yml
|
||||||
|
|
||||||
|
# Build the container image
|
||||||
|
docker build --tag sampler .
|
||||||
|
|
||||||
|
# Run a container
|
||||||
|
docker run --interactive --tty --volume $(pwd)/config.yml:/root/config.yml sampler --config /root/config.yml
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
You specify shell commands, Sampler executes them with a required rate. The output is used for visualization.
|
You specify shell commands, Sampler executes them with a required rate. The output is used for visualization.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue