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
Bearzzy3OP2w ago
I tried to setup the .container file but i may have typed something wrong.
Bearzzy3
Bearzzy3OP2w ago
the terminal says the file doesnt exist when try to run it
asen23
asen232w ago
where did you put the files and what command you tried to run
Bearzzy3
Bearzzy3OP2w ago
I put the file in .config/containers/systemd/plex.container and I ran systemctl --user start plex
asen23
asen232w ago
did you run systemctl --user daemon-reload
Bearzzy3
Bearzzy3OP7d ago
No description
Bearzzy3
Bearzzy3OP7d ago
do i reinstall podman?
asen23
asen237d ago
what is ls ~/.config/containers/systemd/ and cat ~/.config/containers/systemd/plex.container
Bearzzy3
Bearzzy3OP7d ago
No description
Bearzzy3
Bearzzy3OP7d ago
does everything look good?
asen23
asen237d ago
looks fine
Bearzzy3
Bearzzy3OP7d ago
should I get with podman support?
asen23
asen237d 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
Bearzzy3OP7d ago
No description
asen23
asen237d ago
dont use .container just plex
Bearzzy3
Bearzzy3OP7d ago
it started thanks!
asen23
asen237d ago
np
Bearzzy3
Bearzzy3OP7d 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
asen237d ago
are you replacing or adding the Volume?
Bearzzy3
Bearzzy3OP7d ago
what do you mean by replacing or adding the volume?
asen23
asen237d ago
give the full container file also what is the format of the drive
Bearzzy3
Bearzzy3OP7d ago
btrfs
Bearzzy3
Bearzzy3OP7d ago
No description
asen23
asen237d 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
Bearzzy3OP7d ago
so /var/mnt/Plex:/data1:Z ?
asen23
asen237d ago
yes
Bearzzy3
Bearzzy3OP7d ago
it ran but I still cant access the drive from the server. Is it a permissions issue?
asen23
asen237d ago
could be, what do you see from the server
asen23
asen237d ago
from this one
No description
Bearzzy3
Bearzzy3OP7d 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?