I have Default.vcl with host and port and copied to container varnish:/etc/varnish I am able to hit back end via varnish, but could not trace varnish logs using docker logs
Logs in Varnish are not produced by the main varnishd
process.
varnishlog
binary to get in-depth logsvarnishncsa
binary to get Apache-style logsYou have to run either of these commands within your container, on the shell. Unfortunately this cannot be done through docker logs
.