Rancher 2.0 in lxc
Note: Updated slightly now rancher 2.0 is GA.
There are a couple of tricks, but it is possible to get the Rancher beta running in an lxc container with some tweaks. Firstly, the lxc profile needs to be tweaked:
lxc profile edit default
The defaults that worked for me were: