#Docker run

1 messages · Page 1 of 1 (latest)

burnt cove
#

I am looking at the tutorial and want to make sure what I am thinking is correct.

As far as scheduling it says
You can run PMM in the background, telling it to wake up and process your libraries at fixed times during the day. The default behavior in this regard is to wake up at 5AM and process the config. If you leave the -r off the commands you have been using in this walkthrough, that’s what will happen.

So the command of
docker run --rm -it -v "PMM_PATH_GOES_HERE:/config:rw" meisnate12/plex-meta-manager --run

I am confused as to what I leave off. There is --rm and --run

echo yewBOT
#

Welcome!

Someone from <@&938443185347244033> will assist when they're available.

Including the meta.log from the beginning is a huge help, type !logs for more information.

#

You can press the "Close Post" button above or type !close at any time to close this post.

twin bone
long acorn
#
docker run --rm -it -v "PMM_PATH_GOES_HERE:/config:rw" meisnate12/plex-meta-manager --run

in this command:
--rm is telling docker to delete the container when it exits.
--run is telling PMM to run immediately when the container starts up. [-r is a synonym for this command]

If you leave off the --run, the container will start up and wait until the time you set in TIME_TO_RUN [or 5AM if you didn't specify] to start up and process the config.yml.

burnt cove
#

And by leaving the --run off it will continue to stay open and run daily? Or if not what would be the proper command?

long acorn
#

Yes, without --run it will stay open until you stop it, waking up each day at whatever time you configure.

#

That's assuming you never shut the machine down. If you want it to survive reboots you'd start it up differently, which will vary by platform.

burnt cove
#

What would be the command for docker to do so so it reloads on reboot?

sand obsidian
#

docker run -itd --restart=always -v "PMM_PATH_GOES_HERE:/config:rw" meisnate12/plex-meta-manager

burnt cove
#

Perfect thank you very much.

tight dome
burnt cove