Docker log configuration

Is there a recommended way to configure logs in the docker snap? I’ve been using journald when installing it outside of snapd. If I try to use that inside snapd then it doesn’t work. Should I just use json-file and add a setting to get them rotated periodically? I’m not really even sure what daemons inside of snapd are supposed to do with their logs.

your docker logs should be available via journalctl -e --no-pager -u snap.docker.dockerd

What should I configure the daemon to use? By default it’s json-file right? Won’t that fill up my disks? Is there a better setting like using the journald log driver?

I think the question about dockerd configuration is better asked on docker forums rather than here unfortunately, I don’t know all the different configuration options for dockerd or what the best one to use is for your system.