Need Help Locating Stacks Directory (DietPi/Portainer)

Hi all,

I’m using the Dockge Docker container (Dockge) and struggling to find the default stacks directory for DietPi/Portainer.

Any pointers? Much appreciated!


What exactly you are looking for? We don’t have a default directory where you can store compose.yaml files

According to their GitHub the default directory is /opt/stacks


I’m looking for the folder where Portainer stores the docker compose files

Basically, when you create a stack, i would like to know where its stored

Default should be /opt/stacks, but it isn’t …

Something you need to ask Portainer? I’m not sure if Portainer is storing the information on files. Probably within a database? Or within the Docker volume?

At least Docker data is located at /mnt/dietpi_userdata/docker-data

1 Like

I made a quick test installation and you probably are talkin about /mnt/dietpi_userdata/docker-data/volumes/portainer_data/_data/compose


Thanks for your prompt help!

That’s what I was looking for :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.