Thank you Serge,
indead I recreate a container and It just works
root@oslab:~# lxc list
+--+-+--+--+
| NAME | STATE | IPV4 | IPV6 |
+--+-+--+--+
| test | RUNNING | 10.0.3.95, 127.0.0.1 | ::1 |
+--+-
Quoting Guillaume VINCENT (gvinc...@oslab.fr):
> Thank you for your answers
>
> I'm running ubuntu 14.04 on a dedicated server, lxc 0.3 and lxd 0.3
>
> > auto lo
> > iface lo inet loopback
> >
> > # The primary network interface
> > auto eth0
> > iface eth0 inet dhcp
>
> this configuration corr
Thank you for your answers
I'm running ubuntu 14.04 on a dedicated server, lxc 0.3 and lxd 0.3
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
this configuration correspond to my default /etc/network/interfaces on a
dedicated server, af
You can set the ip of the container to whichever domain you want.
There are two ways to do it.
Bridging it to default gateway br0 or you can set it to public network
using Macvlan.
This link might help you:
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_os_containers.html#ol_modmacv
Quoting Guillaume VINCENT (gvinc...@oslab.fr):
> Hello list,
>
> I'm learning how to use lxd and play with my container.
>
> For know I can download images, launch some container.
>
> But I can't get my container reaching the outside world.
>
> My host /etc/network/interfaces :
Hi,
Where did
Dear Guillaume,
from the output
> | my_container | RUNNING | 127.0.0.1 | ::1 |
I would say that the container don't have an adequate IP. And maybe no default
route to your gateway x.x.x.1, too. Should this be set by DHCP or by static
configuration?
Guido
On 12.03.2015 23:54, Guillaume VINC
Hello list,
I'm learning how to use lxd and play with my container.
For know I can download images, launch some container.
But I can't get my container reaching the outside world.
My host /etc/network/interfaces :
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface