LXC + Ubuntu 18.04: “Unable to fetch GPG key from keyserver” when trying to create a new container The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Public IP Address for LXC containerProblem setting up a user-space LXC containerContainer namespace isn't visible in ip netns listLXC starts up, but the networking is not set up - what is preventing this?Manually provision an existing LXC container in Juju-localHow to Migrate Physical 12.04 Machine into LXClxc change default userNested unprivilaged lxc containers from upstart that its owner can stopHow to create my own lxc-container rootfsHow do I do I connect a block device to a privileged lxc container at start?
Does the AirPods case need to be around while listening via an iOS Device?
Empty set is subset of every set? If yes, why that...
What do you call a plan that's an alternative plan in case your initial plan fails?
Who or what is the being for whom Being is a question for Heidegger?
When did F become S in typeography, and why?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Is every episode of "Where are my Pants?" identical?
Match Roman Numerals
Simulating Exploding Dice
Why can't devices on different VLANs, but on the same subnet, communicate?
Did God make two great lights or did He make the great light two?
Why can't wing-mounted spoilers be used to steepen approaches?
Would an alien lifeform be able to achieve space travel if lacking in vision?
Can smartphones with the same camera sensor have different image quality?
Are my PIs rude or am I just being too sensitive?
How is simplicity better than precision and clarity in prose?
Do warforged have souls?
Does Parliament hold absolute power in the UK?
Why did all the guest students take carriages to the Yule Ball?
Didn't get enough time to take a Coding Test - what to do now?
How did passengers keep warm on sail ships?
I could not break this equation. Please help me
Grover's algorithm - DES circuit as oracle?
Sort list of array linked objects by keys and values
LXC + Ubuntu 18.04: “Unable to fetch GPG key from keyserver” when trying to create a new container
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Public IP Address for LXC containerProblem setting up a user-space LXC containerContainer namespace isn't visible in ip netns listLXC starts up, but the networking is not set up - what is preventing this?Manually provision an existing LXC container in Juju-localHow to Migrate Physical 12.04 Machine into LXClxc change default userNested unprivilaged lxc containers from upstart that its owner can stopHow to create my own lxc-container rootfsHow do I do I connect a block device to a privileged lxc container at start?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a fresh install of Ubuntu 18.04 LTS server and trying to setup some containers but I'm getting the keyserver error:
> lxc-create -n test -t download
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: test: lxccontainer.c: create_run_template: 1566 Failed to create container from template
Error creating container test
Everything seems to work fine if I run with --no-validate but that's not what I would like to do long term, any ideas?
Btw. forgot to mention - I'm not behind any firewall or proxy that is blocking the access.
Edit: @Simos - the 'kde' was my fault when i copied the console output. The container i was creating was named kde, but i changed the name when copying the output here to 'test' just missed one spot. Nonetheless i like lxc and i've setup multiple containers to do some stuff i wanted just always had to skip validation which i don't like.
So the question remains - any pointers in how to resolve the issue?
18.04 lxc container
add a comment |
I have a fresh install of Ubuntu 18.04 LTS server and trying to setup some containers but I'm getting the keyserver error:
> lxc-create -n test -t download
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: test: lxccontainer.c: create_run_template: 1566 Failed to create container from template
Error creating container test
Everything seems to work fine if I run with --no-validate but that's not what I would like to do long term, any ideas?
Btw. forgot to mention - I'm not behind any firewall or proxy that is blocking the access.
Edit: @Simos - the 'kde' was my fault when i copied the console output. The container i was creating was named kde, but i changed the name when copying the output here to 'test' just missed one spot. Nonetheless i like lxc and i've setup multiple containers to do some stuff i wanted just always had to skip validation which i don't like.
So the question remains - any pointers in how to resolve the issue?
18.04 lxc container
add a comment |
I have a fresh install of Ubuntu 18.04 LTS server and trying to setup some containers but I'm getting the keyserver error:
> lxc-create -n test -t download
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: test: lxccontainer.c: create_run_template: 1566 Failed to create container from template
Error creating container test
Everything seems to work fine if I run with --no-validate but that's not what I would like to do long term, any ideas?
Btw. forgot to mention - I'm not behind any firewall or proxy that is blocking the access.
Edit: @Simos - the 'kde' was my fault when i copied the console output. The container i was creating was named kde, but i changed the name when copying the output here to 'test' just missed one spot. Nonetheless i like lxc and i've setup multiple containers to do some stuff i wanted just always had to skip validation which i don't like.
So the question remains - any pointers in how to resolve the issue?
18.04 lxc container
I have a fresh install of Ubuntu 18.04 LTS server and trying to setup some containers but I'm getting the keyserver error:
> lxc-create -n test -t download
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver
lxc-create: test: lxccontainer.c: create_run_template: 1566 Failed to create container from template
Error creating container test
Everything seems to work fine if I run with --no-validate but that's not what I would like to do long term, any ideas?
Btw. forgot to mention - I'm not behind any firewall or proxy that is blocking the access.
Edit: @Simos - the 'kde' was my fault when i copied the console output. The container i was creating was named kde, but i changed the name when copying the output here to 'test' just missed one spot. Nonetheless i like lxc and i've setup multiple containers to do some stuff i wanted just always had to skip validation which i don't like.
So the question remains - any pointers in how to resolve the issue?
18.04 lxc container
18.04 lxc container
edited May 15 '18 at 5:06
voytech
asked May 12 '18 at 22:36
voytechvoytech
93
93
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
the following command could help:
lxc-create -n test -t download -- --keyserver hkp://p80.pool.sks-keyservers.net:80
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035504%2flxc-ubuntu-18-04-unable-to-fetch-gpg-key-from-keyserver-when-trying-to-crea%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
the following command could help:
lxc-create -n test -t download -- --keyserver hkp://p80.pool.sks-keyservers.net:80
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
add a comment |
the following command could help:
lxc-create -n test -t download -- --keyserver hkp://p80.pool.sks-keyservers.net:80
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
add a comment |
the following command could help:
lxc-create -n test -t download -- --keyserver hkp://p80.pool.sks-keyservers.net:80
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
the following command could help:
lxc-create -n test -t download -- --keyserver hkp://p80.pool.sks-keyservers.net:80
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered Apr 10 at 16:45
XandersoftXandersoft
1
1
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Xandersoft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
add a comment |
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
Hello there, please include more details to your answer.
– Philippe Delteil
Apr 10 at 17:38
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035504%2flxc-ubuntu-18-04-unable-to-fetch-gpg-key-from-keyserver-when-trying-to-crea%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown