You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# keepass2 in Docker
|
|
|
|
|
|
|
|
Running keepass2 in Docker
|
|
|
|
|
|
|
|
## Launching keepass2
|
|
|
|
|
|
|
|
### with Docker Compose
|
|
|
|
|
|
|
|
You can use the following shortcut function and place it to your `~/.bash_aliases` file
|
|
|
|
|
|
|
|
```
|
|
|
|
alias docker="sudo -E docker"
|
|
|
|
alias docker-compose="sudo -E docker-compose"
|
|
|
|
|
|
|
|
function docker_helper() { { pushd ~/docker/$1; docker-compose rm -fa "$1"; docker-compose run -d --name "$1" "$@"; popd; } }
|
|
|
|
function keepass2() { { docker_helper $FUNCNAME $@; } }
|
|
|
|
```
|