# 1) Go into the source directory of this app 'pass' and copy it into your docker environment: # You can use your own path but will need to adjust the below lines and any affected dependant files accordingly $ cp . /var/lib/docker/configs/pass/ $ cd /var/lib/docker/configs/pass/ # 2) Configure the host environment for the container before starting it # - If intended to be used on Desktop as GUI: # *) run 'xauth list' on the Docker host as the user that will run the container (not root, unless root runs X on your system) # *) copy the whole line that was produced by the above command and save it into the xcookie in the source directory of this app # - If not intended to be run in GUI: # *) remove the xcookie file from the source directory of this app # *) edit the Docker file accordingly (see comments in Dockerfile) # *) remove the below lines from the 'start-pass' script found in the source directory of this app # -v /tmp/.X11-unix \ # -e DISPLAY=$DISPLAY \ # 3) Build your container $ docker build -t . pass # 4) Create the below directories within /var/lib/docker/configs/pass/data # If using a different path to store your containers configurations and data files you will need to modify the paths in the 'start-pass' script too $ mkdir -p /var/lib/docker/configs/pass/data/{gnupg,password-store} # 5) Start your container with: $ start-pass # 6) Optionally you can move the start-pass script somewhere inside of your path $ sudo cp start-pass /usr/loca/bin $ sudo chmod -v 0755 /usr/loca/bin/start-pass