-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(adding_hints): adding hints for podman
Co-authored-by: Daniel Pryor <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,19 @@ Alternatively, if you don't wish to install the package, run it using `$ vmware_ | |
docker run -it --rm -p 9272:9272 -e VSPHERE_USER=${VSPHERE_USERNAME} -e VSPHERE_PASSWORD=${VSPHERE_PASSWORD} -e VSPHERE_HOST=${VSPHERE_HOST} -e VSPHERE_IGNORE_SSL=True -e VSPHERE_SPECS_SIZE=2000 --name vmware_exporter pryorda/vmware_exporter | ||
``` | ||
|
||
When using containers combined with `--env-file` flag, please use capital letters to set bolleans, for example: | ||
|
||
``` | ||
$ podman run -it --rm -p 9272:9272 --name vmware_exporter --env-file config.env pryorda/vmware_exporter | ||
$ cat config.env | ||
[email protected] | ||
VSPHERE_PASSWORD=Secure-Pass | ||
VSPHERE_HOST=192.168.0.1 | ||
VSPHERE_IGNORE_SSL=TRUE | ||
VSPHERE_SPECS_SIZE=2000 | ||
``` | ||
|
||
|
||
### Configuration and limiting data collection | ||
|
||
Only provide a configuration file if enviroment variables are not used. If you do plan to use a configuration file, be sure to override the container entrypoint or add -c config.yml to the command arguments. | ||
|