-
Notifications
You must be signed in to change notification settings - Fork 4
Docker Installation Guide
Tested on Windows 10 x64 4/15/2017. Instructions should be similar for OSX users.
-
Get the Docker Toolbox and install it.
-
Start
Kitematic
-
Use VirtualBox
to get your environment set up. -
You can skip the docker-hub login if you wish.
-
Search for the container
scytherswings/plex-board
and pull it down by clickingCREATE
. This will download the container and start it up.To see the web interface hit the "pop-out" button for "Web Preview" (The button is to the left of the gear wheel/cog thing)
You're now running Plex-Board on Docker!
... Coming soon. Sorry, only so many hours in the day.
By default, the Plex-Board container will store the database inside the container. The side-effect of doing this is that if you delete the container, then you will lose your configurations for Plex-Board!
Once you have configured Plex-Board you can copy the database to your local file system with a command like this:
docker cp plex-board:/app/db/ /host/path/for/the/database
(You can open a docker CLI in the bottom left of Kitematic)
http://stackoverflow.com/questions/22049212/docker-copy-file-from-container-to-host
Kitematic will actually automatically recognize volumes and provide a way to configure them.
If you're on the "Home" tab for the container there will be a "Volumes" section.
If you click on the "/app/db" volume, Kitematic will ask if you'd like to enable them.
On Windows, it will create a folder underneath your Documents\Kitematic
. You can copy the production.sqlite3
file into the nested db
directory that should be there now.
Once you have copied out your configured database you can then mount it as a volume whenever you start your docker container. (Kitematic will take care of this for you if you did it through there)
docker run -v /host/path/for/the/database:/app/db -p 3000:3000 -t plex-board