this post was submitted on 12 Oct 2023
0 points (50.0% liked)

Self-Hosted Main

511 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

As stated. I stood up about 8 containers using docker desktop. Eventually I realized Portainer would be more useful and they now have an app for iphone. Once I installed it, portainer has "limited access" to my containers because they were created outside of portainer. Is there a way to fix this or do I have to re-build these in Portainer?

If so, I have a few Docker containers that I need database data from that I really don't want to lose. Is there a way to back up the data, and then re-create the same container from a backup in Portainer?

Still new to docker.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

I would spend the time now to get docker-compose files for each of your containers and then you can use the stack feature in Portainer to recreate the containers. You would then have full access. On the flip side, if you decide to move off of Portainer in the future, having those docker compose files are going to allow a much greater flexibility.

It took me a few hours to get docker-compose files created for all my containers, but now it’s so easy to create a new one, I just copy an existing one and change some of the variables around.