[lxc-users] Error launching first container
Pierre Couderc
pierre at couderc.eu
Sun Sep 23 17:34:44 UTC 2018
Thank you. I have used lxd since months but usually it was after
compiling from sources (under debian).
I have not changed anything except installing with apt under bionic
("reformatting" a computer where there was lxd under debian)
I do not imagine bionic adding a hidden firewall but I have no
experience of Ubuntu, only debian.
and 127.0.0.53, is a loopback address.
On 09/23/2018 10:50 AM, toshinao wrote:
> Hi.
>
> Your machine may be located behind firewall. In my case, even if shell’s environmental
> variables such as http_proxy are properly configured, lxc tried to access 127.0.0.53.
> (I am not sure wether it was 53.)
>
> I do not to how to directly access cloud-images.ubuntu.com from behind firewall.
> Here’s what I did. I prepared lxc/lxc on two locations A: a machine which has direct
> internet access and B: a machine behind firewall. The goal is to launch container
> on B. (1) I launched a container on A, (2) generate image of the container on A,
> (3) copy the image from A to B, (4) import the image on B, (5) finally launch
> container from the imported image on B.
>
> Of course these steps are tedious and I hope there’s a better way.
>
>> 2018/09/23 16:12、Pierre Couderc <pierre at couderc.eu>のメール:
>>
>> 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
>>
>> 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 ?
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list