I want to install and try out docker . In the installation instructions there is such an item:

Add the new GPG key.

Googled and it turned out that such a cryptographic key. But I did not find how to create it on Ubuntu . Could you tell ?

    1 answer 1

    It does not need to be generated at all.

    This is the public key that Docker packages subscribe to so that users can be sure that the package came from the Docker team. The apt-key start command described there (long such, with a large block of a letter-digit at the end) fully performs the adding procedure and contains a “fingerprint” (the same letter-digit block) by which it can verify that this is the key that was meant Online.


    Is it possible to believe the team described in this manual and assume that this is the right key? Well, if you are viewing a HTTPS page and do not receive warnings about an invalid certificate, then yes. Provided, of course, that you have not added anything doubtful to the root certificate store. You yourself or someone else, like your system administrator.