Skip to content

Commit da0bf2e

Browse files
wejdrosspryorda
andauthored
fix(adding_hints): adding hints for podman
Co-authored-by: Daniel Pryor <[email protected]>
1 parent 0c4e132 commit da0bf2e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ Alternatively, if you don't wish to install the package, run it using `$ vmware_
3232
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
3333
```
3434

35+
When using containers combined with `--env-file` flag, please use capital letters to set bolleans, for example:
36+
37+
```
38+
$ podman run -it --rm -p 9272:9272 --name vmware_exporter --env-file config.env pryorda/vmware_exporter
39+
$ cat config.env
40+
41+
VSPHERE_PASSWORD=Secure-Pass
42+
VSPHERE_HOST=192.168.0.1
43+
VSPHERE_IGNORE_SSL=TRUE
44+
VSPHERE_SPECS_SIZE=2000
45+
```
46+
47+
3548
### Configuration and limiting data collection
3649

3750
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.

0 commit comments

Comments
 (0)