How to run with Docker
Run with Docker
Assuming you already have docker up and running in your computer, copy/paste the following in a terminal:
docker run --name PV2 -p 8080:80 \
-v PV2_VOL_CONF:/config \
-v PV2_VOL_DB:/var/lib/mysql \
-v PV2_VOL_UPLOADS:/var/www/html/uploads \
globaldyne/jbvault
Then point your browser to:
http://localhost:8080
Please Note: When you run for first time, a docker volume will be automatically created, holding config files, db schema and uploaded user files.
If you’re using a Red Hat (CentOS, RHEL, Fedora, etc) based distribution with an SELinux Enforcing policy add :z to line with volumes like so:
docker run --name PV2 -p 8080:80 \ -v PV2_VOL_CONF:/config:z \ -v PV2_VOL_DB:/var/lib/mysql \:z \ -v PV2_VOL_UPLOADS:/var/www/html/uploads \:z \ globaldyne/jbvault
Build your own image
If you wish to build your own Docker image, you can find the source code here