Replying to @⁨northernlights@lemmy.today⁩

I was using the watchtower updater until it got archived, thankfully there is a maintained fork now

github.com/nicholas-fedor/watchtower

I still need to figure out a auto update solution for my Argo managed services

Automate Docker container image updates. Contribute to nicholas-fedor/watchtower development by creating an account on GitHub.GitHubGitHub - nicholas-fedor/watchtower: Automate Docker container image updatesAutomate Docker container image updates. Contribute to nicholas-fedor/watchtower development by creating an account on GitHub.

Replying to @⁨femtek@lemmy.blahaj.zone⁩

My devs prefer Docker, and don’t want Kubernetes! We have a fix for that: Portainer-D2K. Portainer-D2K is a Docker translator for Kubernetes

As someone who was using mostly podman and is now switching to kubernetes I can confidently say that the cli interface was not what was holding me back. Instead it was the sheer amount of setup and complexity kubernetes can bring into an environment. Kubernetes is great when you want most or all the features it offers, it is horrible if you want to deploy 3 containers for your application on one host.

Oh well, not like I have to care, I wasn’t interested in portainer to begin with.

Replying to an earlier post

I just finished the migration to Dockhand. I never had to stop a single container.

I copied out all the docker compose files portainer stored for the stacks:

sudo rsync -a /var/lib/docker/volumes/portainer_data/_data/compose/ ~/stacks-backup/

The bonus of doing it this way is permissions, and it also nabs the .env files if you’ve configured vars in the Stacks config (and not directly in the compose file)

Because all the folders were just ID’s, I renamed them:

docker ps -a --format '{{.Label "com.docker.compose.project.working_dir"}}\t{{.Label "com.docker.compose.project"}}' | sort -u | while IFS=$'\t' read -r wd name; do id="${wd##*/}"; [ -n "$id" ] && [ -d ~/stacks-backup/"$id" ] && mv ~/stacks-backup/"$id" ~/stacks-backup/"$name"; done

After that, I ran du -sh against both directories to ensure they match.

Once the rename was done, I settled on moving all my stack configs to /opt/stacks, and added a folder for the compose file for dockhand, because dockhand can manage itself, unlike Portainer. Additionally, I made sure the /opt/stacks folder I moved those files to was mounted by Dockhand in the compose file.

docker compose up -d in the dockhand dir, and then went to the UI.

Configure the env how you want, and have it point at whatever your config was. I am running everything in Ubuntu server, so I just left the default Unix stuff set.

From there, the Stacks UI in Dockhand listed everything, but it knew nothing really about them. Pick a low-impact stack, and open it. You should see a section on the left where you can browse to /opt/stacks, for example, and if you’ve renamed the folders, easily find the yaml. Once loaded, you should see the config on the left. On the right is where you can add your env vars. If you have a .env that moved over, there’s a folder icon at the top you can use to navigate to it and pick it.

I have 18 stacks. Start to finish was approx 1 hour. I have 14 volumes, and those are all present, including the association to the stack they belong to, and everything matches what I see in Portainer, which is still up and running alongside Dockhand.

I hope this all helps you. Realistically, I don’t know if you’ll have an issue with volumes. All mine are managed via docker itself and not portainer, so there was nothing I needed to do there.

Replying to @⁨femtek@lemmy.blahaj.zone⁩

Portainer was a great start into docker, but it’s so much easier and better to just use compose and cli. Lazydocker if you really want point and click.

I still have my old install running on my homebrew NAS, but all it’s doing is running plex and a Minecraft server. I need to rebuild, at which point it goes.

Sorry portainer, I appreciate the start, but I’ve got it from here…

Replying to @⁨femtek@lemmy.blahaj.zone⁩

Indeed… such an awful sorrow…

Such decisions for “AI” is a pure disgrace and a blatant disrespect to the history, experience, dedication, effort… love… of the contributors, developers, artists… people… of the whole project, and the infinitely marvelous history itself…

I will never consider this project for anything, and won’t recommend it to anyone.
There are more appreciated projects also mentioned in the comments, including:
- Dockhand by @Kirk@startrek.website ;
- Arcane by @Zeoic@lemmy.world ;
- Konodo by @FlexibleToast@lemmy.world ;
- Dockge by @girlnamedzero@piefed.zeromedia.vip ;
…

Thank you, dear Developers and Artists, People… for actually considering the art, effort, attitude, human… and being careful for the infinitely magnificent history and future…

lemmy.worldPortainer 3.0 is coming, and here's what it means for you — Portainer - Lemmy.WorldPortainer is changing to a mostly AI and kubernetes supported app.