I’ll start:

When I was first learning to use Docker, I didn’t realize that most tutorials that include a database don’t configure the database to persist. Imagine my surprise when I couldn’t figure out why the database kept getting wiped!

  • object_Object@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thanks, good to know! I had no idea about the tags. Looks like there’s a lot more variables available.

    I just reread the docs on the log drivers - they mentioned that as of docker 20.x local logs now work with all drivers as it buffers the logs locally as well. I think this is probably why I hadn’t explored the other drivers before - couldn’t use docker-compose logs.