Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

docker-compose QoL improvements #2319

Merged
merged 5 commits into from
Oct 9, 2020
Merged

Conversation

nyanshak
Copy link
Contributor

@nyanshak nyanshak commented Oct 7, 2020

@nyanshak
Copy link
Contributor Author

nyanshak commented Oct 7, 2020

I was also going to ask about updating the test images (to use newer operating systems / osquery versions), but I see there's already a convo about that here: #2239.

@nyanshak nyanshak force-pushed the docker-compose-updates branch from 4317da4 to cb76089 Compare October 7, 2020 19:49
* Allow users to specify addresses other than `host.docker.internal` for
the `tls_hostname` in the example config.
* Using the current working directory can result in permissions issues
if the UID / GID of the host don't match that of the mysql user in the
container. Using a docker volume allows us to persist the data and avoid
these permissions issues.
* Fixes kolide#2319 by allowing Linux users to add `extra_hosts` settings,
which create an `/etc/hosts` entry for `host.docker.internal`.
@nyanshak nyanshak force-pushed the docker-compose-updates branch from cb76089 to 254b09b Compare October 7, 2020 22:52
Copy link
Contributor

@zwass zwass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you for this!

I tested in my macOS dev environment and everything works as expected.

@zwass zwass merged commit 8713725 into kolide:master Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't start osqueryd test instances via docker-compose on Linux
2 participants