
This is because the Dockerfile is configured to run the osquery daemon by default with the following arguments: osqueryd -flagfile /etc/osquery/osquery.flags -config_path /etc/osquery/nfįlags file and the config file are meant to be provided from the host. W0919 19:46:14.058230 7 init.cpp:649] Error reading config: config file does not exist: /etc/osquery/nf If you omit the command part it will launch the osquery daemon with a warning: $ docker run -it uptycs/osquery:2.7.0 In this case it will be one process: /usr/bin/osqueryi In the case of processes which are retrieved from /proc osquery will return the processes running inside the container. When running inside the container osquery will only return information available to it from within the container. You can run sample queries like: osquery> SELECT * FROM processes It will present a SQL prompt: $ docker run -it uptycs/osquery:2.7.0 osqueri Interactive shell can be launched as follows. Interactive shell osqueryi and osqueryd daemon. But if you are just playing with osquery and want to test some functionality docker images are ideal. Ideally running osquery in docker container doesn’t make sense unless you are using CoreOS Container Linux. We published images for various versions of Ubuntu and CentOS.

Recently we ( Uptycs) started publishing docker images with latest osquery version.
#Osquery prometheus windows#
Windows functionality is maturing, thanks to open source community contributions and Facebook’s efforts.

It has first class support for various flavors of Linux and macOS. It is being deployed to production servers as well as employee desktop/laptops. Numerous enterprises big and small from all verticals are using it, or planning on using it. It is extremely powerful tool that can be used for various purposes: If you are into security you might have heard about osquery.
