"Fossies" - the Fresh Open Source Software Archive

Member "geoipupdate-4.3.0/doc/docker.md" (16 Apr 2020, 1872 Bytes) of package /linux/misc/geoipupdate-4.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Docker

Configuring

The Docker image is configured by environment variables. The following variables are required:

The following are optional:

The environment variables can be placed in a file with one per line and passed in with the --env-file flag. Alternatively, you may pass them in individually with the -e flag.

Running

Run the latest image with:

docker run --env-file <file> -v <database directory>:/usr/share/GeoIP maxmindinc/geoipupdate

<file> should be the environment variable file with your configuration. <database directory> should be the local directory that you want to download the databases to.