gpg Using GPG inside a Docker container One day you may need to run a GPG 2.x inside a Docker container. In Ubuntu Artful the gpg-agent creates its agent-socket under /run/user, instead of $GNUPGHOME/ which by default is