I have installed Portainer on Bazzite with podman using this command:
# Start rootless podman socket
systemctl --user enable --now podman.socket
# enable start of system services, even if not logged in
sudo loginctl enable-linger $USER
# Start portainer rootless
podman run \
--detach \
-p 9444:9443 \
--name portainer \
--security-opt label=disable \
--restart always \
--volume /run/user/$(id -u)/podman/podman.sock:/var/run/docker.sock \
--volume portainer_data:/data \
docker.io/portainer/portainer-ce
And it works, but when I try to make my stack (which I know works, it’s from my previous server), I get this error:
(Failed to deploy a stack: compose up operation failed: Error response from daemon: make cli opts(): making volume mountpoint for volume /var/run/docker.sock: mkdir /var/run/docker.sock: permission denied)
Does anyone know how I could fix this? I am new to Bazzite
That’s what happened when I tried it last time as well, I found this Github Issue where someone found the answer, which was to run it like I did the first time Any ideas?
I haven’t used portainer in many years and when I did it was on Raspberry Pi. I have since moved to OMV and have not had a need for anything else.
On bluefin-dxI use docker and podman cli exclusively.
My guess is that you are still using portainer for the templates - is that right?
If it was me (using bluefin-dx where docker is pre-installed) I would just spin it up in a docker container. We know the portainer project supports that well.
I know bazzite maintainers are working on -dx bootc images for bazzite (that also pre-installs docker) but I have no idea how far along they are.
It does look promising in the underlying github repo linked to below.
WARNING: if you have another machine to experiment on I would do it there. I would not experiment on the machine on which I rely.
I honestly am really new to bluefin stuff, I have only used Truenas and Debian Server before where I just sudo apt get installed Docker and then ran Portainer, so I am a little bit lost…
I have a big docker-compose yaml and just find it easier to manage through Portainer, but all I can find surrounding Bazzite is that I am supposed to use Quadlet, I found this thread, do you think it would help?
Again, thank you for all the help If there is any other management software other than Portainer that would be easier for my situation I could also consider that, I feel like it could be overkill to install the -dx stuff just for portainer…