Plex Server Docker Container

I am wanting to store my movies library on my Bazzite OS and access them through a Plex media server locally and remotely. I was reading a few posts about this and the best thing to do from what i read was to setup a container running the server. I have no earthly idea how to use docker I was wondering if anyone could help me with this.
31 Replies
Bearzzy3
Bearzzy3OP5mo ago
I tried to setup the .container file but i may have typed something wrong.
Bearzzy3
Bearzzy3OP5mo ago
the terminal says the file doesnt exist when try to run it
asen23
asen235mo ago
where did you put the files and what command you tried to run
Bearzzy3
Bearzzy3OP5mo ago
I put the file in .config/containers/systemd/plex.container and I ran systemctl --user start plex
asen23
asen235mo ago
did you run systemctl --user daemon-reload
Bearzzy3
Bearzzy3OP5mo ago
No description
Bearzzy3
Bearzzy3OP5mo ago
do i reinstall podman?
asen23
asen235mo ago
what is ls ~/.config/containers/systemd/ and cat ~/.config/containers/systemd/plex.container
Bearzzy3
Bearzzy3OP5mo ago
No description
Bearzzy3
Bearzzy3OP5mo ago
does everything look good?
asen23
asen235mo ago
looks fine
Bearzzy3
Bearzzy3OP5mo ago
should I get with podman support?
asen23
asen235mo ago
move Restart=always to service like
[Service]
Restart=always
[Service]
Restart=always
put it above install then do daemon reload and start again
Bearzzy3
Bearzzy3OP5mo ago
No description
asen23
asen235mo ago
dont use .container just plex
Bearzzy3
Bearzzy3OP5mo ago
it started thanks!
asen23
asen235mo ago
np
Bearzzy3
Bearzzy3OP5mo ago
i have another issue. I am wanting to have my media on another drive separate from the drive with my OS. I want the container to be able access /var/mnt/Plex and everything underneath. I tried putting this into the .container and wouldnt start: Volume=/var/mnt/Plex:/data:Z
asen23
asen235mo ago
are you replacing or adding the Volume?
Bearzzy3
Bearzzy3OP5mo ago
what do you mean by replacing or adding the volume?
asen23
asen235mo ago
give the full container file also what is the format of the drive
Bearzzy3
Bearzzy3OP5mo ago
btrfs
Bearzzy3
Bearzzy3OP5mo ago
No description
asen23
asen235mo ago
yeah you cannot use the same mount twice maybe do /data/internal and /data/external or /data1 and /data2 the /data is just example btw, you can use your own folder structure
Bearzzy3
Bearzzy3OP5mo ago
so /var/mnt/Plex:/data1:Z ?
asen23
asen235mo ago
yes
Bearzzy3
Bearzzy3OP5mo ago
it ran but I still cant access the drive from the server. Is it a permissions issue?
asen23
asen235mo ago
could be, what do you see from the server
asen23
asen235mo ago
from this one
No description
Bearzzy3
Bearzzy3OP5mo ago
nevermind i was looking for the wrong path I found data1. I am good to go. Thanks again.

Did you find this page helpful?