Docker Community Forums

Share and learn in the Docker community.

Puppet Agent Run doesn't log inside of Docker Container

docker

(LuciferDude) #1

Hey Guys,

I’m using Docker on OSX and run Puppet Agent on a docker container. It connects to the Puppet Server every 30 mins, pulls the latest catalogue and applies any changes made. I’ve tested all of this. The only issues i’m having is i can’t seem to find where it logs all of this. Considering i’m very new to Docker i’m having issues looking for this. I have the default settings on logging etc as seen in my config file below:

[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
pluginsync = true
user = root
group = root

I’ve done docker logs and don’t see the logs where it shows me the catalogue being downloaded . Am I missing something obvious here?

Thanks.