Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:2

WORKDIR /usr/src/app
COPY . ./
RUN python setup.py install

ENTRYPOINT ["gmvault"]
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,25 @@ Untar the binary tarball distribution and go to the GMVAULT_HOME/bin dir to laun

## Install from the sources

python setup.py install
python setup.py install

## Install from source using Docker

docker build -t gmvault .

Prefix all gmvault commands with "docker run -ti" to use the docker container,
e.g.:

docker run -ti gmvault -h

After syncing, extract your backups from the stopped container using docker
copy:

docker cp <containername>:/root/gmvault-db ~/

Or map the volume locally, to begin with:

docker run --rm -ti -v $HOME/gmvault-db:/root/gmvault-db gmvault sync ...

## Install from PyPi

Expand Down