@pmav99 take a look at the containers we maintain at kolide
https://github.com/kolide/docker-osquery
We use these for testing TLS but it's certainly possible to run osquery in a container. Depending on what you're looking to monitor some data comes from the container and not the host, so you'll have to check that yourself