The most dietpi way to work with Docker

When installing Docker and Portainer via dietpi-software, docker-data dir in the dietpi-userdata are created with some others folders inside. Many software setup (no dietpi-software) guides talk about creating a container folder inside /opt/stacks or something like that.

So what’s the most dietpi way to work with Docker containers? In terms of placing the images, compose files, volumes etc.

Images and volumes should be places in dietpi user data as this is how Docker has been configured by our installer. The rest is up to you.