lxc error Unable to fetch GPG key from keyserver

When i create an lxc container on the Ubuntu server, I get an error

To fix this, you can run

To make it permanent, add it to .bashrc

At the end of the file, add

Method 2

You can specify DOWNLOAD_KEYSERVER environment variable for the command with

Method 3

Use –keyserver command line argument

See lxc

Leave a Reply

Your email address will not be published. Required fields are marked *