Skip to content

mapitman/docker-password-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-password-store

Run Password Store in a Docker container. Great if you use Windows in addition to Linux or macOS and want to get access to your passwords on all your machines.

On Windows, you could also use Pass4Win, but I like using the command line as much as possible.

Usage

Run the container and map your .gnupg and .password-store directories into the root directory in the container:

docker run -it --rm \
-v $HOME/.password-store:/root/.password-store \
-v $HOME/.gnupg:/root/gnupg:ro \
 mapitman/password-store /bin/bash

Since Docker for Windows doesn't support creating special files like sockets on mapped volumes, the .bashrc has some script to copy the contents of /root/gnupg to /root/.gnupg so the gpg-agent will run properly.

About

Run password store in a container

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors