[lxc-users] Error launching first container
Andrey Repin
anrdaemon at yandex.ru
Sun Sep 23 19:30:29 UTC 2018
Greetings, Pierre Couderc!
> lxd just installed by aptĀ on a freshly installed bionic, and after lxd
> init :
> lxc launch ubuntu:16.04 my-ubuntu
> Creating my-ubuntu
> Error: Failed container creation: Get
> https://cloud-images.ubuntu.com/releases/streams/v1/index.json: lookup
> cloud-images.ubuntu.com on 127.0.0.53:53: server misbehaving
This means that systemd-resolved did not initialize properly yet.
> I have checkedĀ that the URL
> https://cloud-images.ubuntu.com/releases/streams/v1/index.json: faiils
> (404) but not
> https://cloud-images.ubuntu.com/releases/streams/v1/index.json (witohut
> last :)
> How fo I create my 1rst container ?
I would check that you don't have two name resolution daemons running at once.
All too often I've seen systemd-resolved and resolvconf running in parallel,
causing all sort of trouble.
You have to select one of them and disable another, if this is your case.
--
With best regards,
Andrey Repin
Sunday, September 23, 2018 22:28:22
Sorry for my terrible english...
More information about the lxc-users
mailing list