Doppler CLI Installation Error (Ubuntu 20.04 LTS)

Machine - Ubuntu 20.04 LTS
Issue - I tried to install the Doppler CLI today on my computer, but I’m getting a GPG error.

W: GPG error: stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository ' stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Also, out of curiosity, why do you have a separate doppler CLI package for debian/ubuntu systems? Why can’t I just use the same install script that I run in docker containers to install doppler on my ubuntu machine?

Hey Pranav,

It appears you haven’t run the command to add Bintray’s GPG key:

apt-key adv --keyserver hkp:// --recv-keys 379CE192D401AB61

Try running that, then you should be able to run the remaining commands to complete the install.

We provide a Debian/Ubuntu package so Doppler can be installed the same way as other system dependencies (which some Sys Admins prefer), but you can always use the Docker/Shell install command if that’s preferable.

1 Like

Hey Ryan,
Thanks for the response. I was also getting this error when I ran that command during the installation:

gpg: invalid key resource URL '/tmp/apt-key-gpghome.YybQn576JF/home:manuelschneid3r.asc.gpg'

This answer helped me fix it

Hope this helps if someone faces the same error in the future :smile:

Also, I was wondering if there is a way to mount Doppler credentials from my host machine into a Docker container when I’m logged in using the CLI on my host machine?
I use a lot of docker containers during development and was wondering if there is an easier way to do this rather than creating service tokens every time I want to use doppler in a container.

Similar to how we can mount aws credentials onto a docker container by mounting the ~/.aws directory.

Would you mind creating a separate topic for this question? It’ll make it easier for others with the same question to find it.