timhaak/plex docker upgrade

I’m using the timhaak/plex docker image

Here is to upgrade:

sudo docker pull timhaak/plex
sudo docker rm plex

Get it running again:

sudo docker run --restart=always -d --name=<shortname> -h <hostname> -v <config-location>:/config -v <media-location>:/data -p 32400:32400 timhaak/plex

Replace:
<shortname> with what you want the container to be called
<hostname> with what you want the PMS to be called
<config-location> with the location of your Plex config (note to self, mine is: /opt/plex-data/)
<media-location> with the location of your videos/media

Verify upgrade

Show running containers:
sudo docker ps

Take note of the container ID for plex

Get a bash shell to the running Plex container:

sudo docker exec -it <containerid> /bin/bash

Verify the version installed

dpkg-query -s plexmediaserver | grep "Version"

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s