[lxc-users] Error launching first container
toshinao
padoauk at gmail.com
Sun Sep 23 08:50:26 UTC 2018
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
More information about the lxc-users
mailing list