A docker file to run keepass2.
Using a password vault / manager is a security best practice. Good password managers are hard to find (one of many password managers top. In the past I had a lot of issues in trying to run keepass2 on a mac on top of mono...
- Install docker ;-)
- If not already available, install a X server like XQuartz and allow connections from network clients.
- Clone repository:
https://github.com/malcata/docker-keepass2.git- Configure required environment variables, eventually on a bash_profile file:
# IP example for Mac based on interface en1
$ export IP=$(ifconfig en1 | grep inet | awk '$1=="inet" {print $2}')
# Folder for the database file
$ export KEEPASS_FOLDER="<some folder>"- Build the container image:
$ make build- Run the container:
$ make runCheck the Makefile for further details.
Please follow the Github flow process (branch, commits and pull request)...
The code in this repository, unless otherwise noted, is MIT licensed. See the LICENSE file in this repository.
Content inspiration: Fábio Rehm.
Form inspiration: rcarmo.
Read this for a better way.