# The most dietpi way to work with Docker

**URL:** https://dietpi.com/forum/t/the-most-dietpi-way-to-work-with-docker/25075
**Category:** General Discussion
**Created:** [29 March 2026 08:44 UTC](https://dietpi.com/forum/t/the-most-dietpi-way-to-work-with-docker/25075 "2026-03-29T08:44:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Torvald](https://dietpi.com/forum/user_avatar/dietpi.com/torvald/32/1965_2.png) [@Torvald](https://dietpi.com/forum/u/Torvald)
#### Post date: [29 March 2026 08:44 UTC](https://dietpi.com/forum/t/the-most-dietpi-way-to-work-with-docker/25075/1 "2026-03-29T08:44:22Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [29 March 2026 09:26 UTC](https://dietpi.com/forum/t/the-most-dietpi-way-to-work-with-docker/25075/2 "2026-03-29T09:26:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [25 September 2026 09:26 UTC](https://dietpi.com/forum/t/the-most-dietpi-way-to-work-with-docker/25075/3 "2026-09-25T09:26:19Z")

</div>

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