Re: [lxc-users] Am I misusing LXCs?

2017-03-30 Thread Scott Lopez
Is it functioning for you? Yes? Then it isn't wrong. In *nix there are a dozen ways to skin a cat, and that's before you start scripting in your language of choice. Is it the most efficient use? Maybe not. Running a single application in a LXC container? Maybe you'd be better off with Docker or

Re: [lxc-users] Am I misusing LXCs?

2017-03-30 Thread John Lewis
It is traditional LXC because LXD wasn't out when I set it up originally. I won't build the packages for LXD if I am not even using it properly. I direct incoming connections using iptables with both the the host and the virtual router. I am extremely confident about moving my installation. I

Re: [lxc-users] Am I misusing LXCs?

2017-03-30 Thread Simos Xenitellis
On Thu, Mar 30, 2017 at 8:53 PM, John Lewis wrote: > I build an LXC network on my VPS to separate all of my personal service > from each other how similar they are to each other while not having to > buy more VPS that I don't utilize intensely. Both my containers and my > host

[lxc-users] Am I misusing LXCs?

2017-03-30 Thread John Lewis
I build an LXC network on my VPS to separate all of my personal service from each other how similar they are to each other while not having to buy more VPS that I don't utilize intensely. Both my containers and my host are running Debian 8. I made a container for Email communications (Email and

Re: [lxc-users] nfs server in [unprivileged] container?

2017-03-30 Thread Marat Khalili
> To clarify, in your setup, is the container using zfs? are you creating a > dataset for /nfs and exporting that to the container? In my setup it is a btrfs subvolume that's bind-mounted to nfs container and then shared via nfs. It contains users' home directories so the load is not

[lxc-users] Making sure that you can actually "dig mycontainer.lxd" from the server, etc.

2017-03-30 Thread Simos Xenitellis
Hi All, I just figured out that it is possible, and available by default, to use the domain names of the LXD containers FROM the server. It has been quite confusing, and could not get it working, so I am documenting this here. Let's get a list of the containers and try to access by DNS the

Re: [lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Simos Xenitellis
First of all, now it's working as Stéphane wrote earlier. On Thu, Mar 30, 2017 at 4:55 PM, Sergiusz Pawlowicz wrote: > On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis > wrote: >> Hi All, >> >> I just tried "lxc image list ubuntu:" and I do

Re: [lxc-users] nfs server in [unprivileged] container?

2017-03-30 Thread Spike
thanks to both of you for chiming in. Maybe gluster got better, by my past experiences with it weren't particularly good so I'm inclined to stay away from it until at least I can find some solid demonstration of it working on ubuntu. @Marat, re kernel code, yes, that was my conclusion also per

Re: [lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Stéphane Graber
On Thu, Mar 30, 2017 at 08:55:23PM +0700, Sergiusz Pawlowicz wrote: > On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis > wrote: > > Hi All, > > > > I just tried "lxc image list ubuntu:" and I do not see any 16.04 images. > > (i.e. lxc launch ubuntu:x mycontainer

Re: [lxc-users] subuids and subgid range with multiple LXC containers

2017-03-30 Thread Joshua Schaeffer
On Tue, Mar 28, 2017 at 7:07 PM, Serge E. Hallyn wrote: > One thing I've always thought would be useful, but not had the time to > pursue, woudl be to have a concept of 'clients' or somesuch, where each > client can get one or more unique ranges. They can then use those >

Re: [lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Sergiusz Pawlowicz
On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis wrote: > Hi All, > > I just tried "lxc image list ubuntu:" and I do not see any 16.04 images. > (i.e. lxc launch ubuntu:x mycontainer fails). > > I attach the output of "lxc image list ubuntu:". > > I suppose it is a

Re: [lxc-users] user 'ubuntu' does not exist within LXD container

2017-03-30 Thread Simos Xenitellis
On Thu, Mar 23, 2017 at 3:39 PM, Francesco Longo wrote: > Thanks for your reply. It seems that if I put a sleep after container > creation _sometimes_ it works. Probably, I have to play with the delay. > > Is there a correct way to do that? I mean, is there a way to execute a set

[lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Simos Xenitellis
Hi All, I just tried "lxc image list ubuntu:" and I do not see any 16.04 images. (i.e. lxc launch ubuntu:x mycontainer fails). I attach the output of "lxc image list ubuntu:". I suppose it is a temporary issue, just logging it here. Simos image-list-no-x.txt.gz Description: GNU Zip

Re: [lxc-users] nfs server in [unprivileged] container?

2017-03-30 Thread Fajar A. Nugraha
On Thu, Mar 30, 2017 at 2:19 PM, Marat Khalili wrote: > https://launchpad.net/~gluster/+archive/ubuntu/nfs-ganesha > > > Disclamer: I haven't tested it. > > Yes, I found it too, but its production readiness is unclear to

Re: [lxc-users] nfs server in [unprivileged] container?

2017-03-30 Thread Marat Khalili
https://launchpad.net/~gluster/+archive/ubuntu/nfs-ganesha Disclamer: I haven't tested it. Yes, I found it too, but its production readiness is unclear to me. Also, it is not present in stock Ubuntu repositories. Would be glad to

Re: [lxc-users] nfs server in [unprivileged] container?

2017-03-30 Thread Fajar A. Nugraha
On Thu, Mar 30, 2017 at 12:47 PM, Marat Khalili wrote: > The story would be all different for userspace nfs server, but apparently > there's none. > > https://launchpad.net/~gluster/+archive/ubuntu/nfs-ganesha Disclamer: I haven't tested it. -- Fajar