Updated so you can choose to run 1.8.2 or 2.1.2 osquery (#527)

This commit is contained in:
John Murphy
2016-11-24 01:59:23 +08:00
committed by GitHub
parent b14250788d
commit df2653e46a
2 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ Using Docker enables us to rapidly spin up and down pre-configured `osqueryd` in
Docker and docker-compose are the only dependencies. The necessary container images will be pulled from Docker Cloud on first run.
Before using the following commands, set the environment variable `LOCALHOST` to the public IP (127.0.0.1 will not work) of the docker host machine. This will allow the containers to connect to the local Kolide server.
Before using the following commands, set the environment variable `LOCALHOST` to the public IP (127.0.0.1 will not work) of the docker host machine. This will allow the containers to connect to the local Kolide server. You will also need to
set `KOLIDE_OSQUERY_VERSION` to either `1.8.2` or `latest` (currently 2.1.2) to indicate which version of osquery that you want to run on your
containers.
### Running osqueryd
+3 -2
View File
@@ -1,8 +1,9 @@
version: '2'
services:
ubuntu14-osquery:
image: kolide/osquery
image: "kolide/osquery:${KOLIDE_OSQUERY_VERSION}"
volumes:
- ./kolide.crt:/etc/osquery/kolide.crt
- ./example_osquery.flags:/etc/osquery/osquery.flags
@@ -14,7 +15,7 @@ services:
command: osqueryd --flagfile=/etc/osquery/osquery.flags
centos7-osquery:
image: kolide/centos7-osquery
image: "kolide/centos7-osquery:${KOLIDE_OSQUERY_VERSION}"
volumes:
- ./kolide.crt:/etc/osquery/kolide.crt
- ./example_osquery.flags:/etc/osquery/osquery.flags