https://github.com/osquery/osquery logo
#fleet
Title
# fleet
j

Jaylen

07/08/2021, 5:14 PM
After you pull the image then it's just execute the image
e

emmanuelbabalola

07/08/2021, 5:35 PM
mysql="could not connect to db: dial tcp 127.0.0.1:3306: connect: connection refused, sleeping 0s"
s

Sarah Gillespie

07/08/2021, 7:25 PM
@emmanuelbabalola, welcome! Have you had a chance to take a look at the deployment documentation and have you confirmed that your mysql configuration? Please do keep the channel posted on your progress and folks will try to help out as best they can!
e

emmanuelbabalola

07/08/2021, 7:45 PM
@Sarah Gillespie Thank you for your reply. I tried looking into the deployment documentation but was not clear. Using the binary deployment. i know i can add the database using the fleet serve command with the link to redis and the database. How do i link the database and redis using the pulled docker image ?
s

Sarah Gillespie

07/08/2021, 8:20 PM
Have you tried setting all the CLI flags when you start the server inside the container?
r

Remington Winters

07/08/2021, 10:55 PM
@Sarah Gillespie How should the CLI flags be passed? is there an example?
s

Sarah Gillespie

07/08/2021, 10:57 PM
@Remington Winters is this what you are looking for?
r

Remington Winters

07/08/2021, 11:02 PM
I got that far, but im not particularly well versed in docker. Is there a way to pass these flags to the docker run command? or should i shell into the container to run it directly?
@Sarah Gillespie the issue we are tryingt o solve for is that we are trying to run the docker container but using a remote database. We can run the binaries directly, but wanted to utilize docker and are having issues with getting the flags configuried
j

Jason NG

07/09/2021, 4:28 AM
@Sarah Gillespie I am facing a similiar issue, how do we pass in the config file into the container to use?
s

Sarah Gillespie

07/09/2021, 2:42 PM
Quick question: have you run the
fleet prepare db
command prior to fleet serve? Also this blog post may be helpful for an example of a Fleet deployment that walks through some Docker specifics in more detail.
2 Views