Skip to content

Commit

Permalink
Merge pull request #34 from ishantt/doc-changes
Browse files Browse the repository at this point in the history
Doc changes
  • Loading branch information
yuewko authored Jun 2, 2017
2 parents e6ae5ed + d8b3794 commit 4b34c78
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ local_container="192.168.0.0/16"
local_prefix=24
```

In order to use a configuration file, write the configuration file in a directory and mount that directory as a volume to the container.

```
mkdir /etc/infoblox
# Add the configuration parameters in this file
vim /etc/infoblox/infoblox.conf
docker run -e DOCKER_API_VERSION=1.22 -v /var/run:/var/run -v /run/docker:/run/docker -v /etc/infoblox:/etc/infoblox infoblox/ipam-driver --conf-file=/etc/infoblox/infoblox.conf
```

If the same parameter is specified in both the configuration file and command line argument, the
value specified in the command line argument takes precedence.

Expand Down

0 comments on commit 4b34c78

Please sign in to comment.