I run linuxserver/plex in a Docker container on Silverblue (non-docker compose).
What advantage would Podman have over Docker? I understand that Podman doesn’t have a daemon and that it runs the container in user mode, is that important?
According to the documentation, it looks like I would simply have to replace the word docker with podman to all my used commands:
To pull the image for docker.io.
podman pull linuxserver/plex
To create the container from the image:
podman create \
--name=plex \
--net=host \
--restart=always \
-e VERSION=latest \
-e PUID=1000 \
-e PGID=1001 \
-e TZ=America/New_York \
-v /var/lib/docker/plex/config:/config \
-v /mnt/data/TV\ Shows:/data/TV\ Shows \
-v /mnt/data/Movies:/data/Movies \
-v /mnt/data/Music:/data/Music \
-v /mnt/data/Documentaries:/data/Documentaries \
-v /mnt/data/Anime:/data/Anime \
-v /mnt/data/Youtube:/data/Youtube \
-v /var/lib/docker/plex/transcode:/transcode \
linuxserver/plex
Currently I transcode in the /var/lib/docker/plex/transcode/ directory. I imagine that should be changed to a non-docker specific location. Perhaps /tmp/transcode.
To Start the server:
podman start plex
To view the images, and prune the images.
podman image ls
podman image prune
To stop and remove the container,
podman stop plex
podman rm plex
Finally to remove the image;
podman rmi 59634fd16d38
What I am not sure is how to insure that podman stays on, even during reboots. Currently the Fedora-toolbox:30 is aways on, so I suppose once it’s started the “restart=always” will take care of it remaining on.