[lxc-users] Can we run a container from ramfs?
Qiang Huang
h.huangqiang at huawei.com
Sat Dec 14 07:18:51 UTC 2013
Hi guys,
I was trying to run a container from ramfs, to root filesystem is
rootfs(ramfs), the template is put onto a mounted disk whose fs is
ext3, and I got this error(I'll skip my config and version and os
and so on, I think they are not keys):
...
lxc-start 1386999058.944 DEBUG lxc_conf - mountpoint for old rootfs is '/usr/local/lib/lxc/rootfs/lxc_putold'
lxc-start 1386999058.944 ERROR lxc_conf - Invalid argument - pivot_root syscall failed
lxc-start 1386999058.944 ERROR lxc_conf - failed to setup pivot root
lxc-start 1386999058.944 ERROR lxc_conf - failed to set rootfs for 'hq91'
lxc-start 1386999058.944 ERROR lxc_start - failed to setup the container
lxc-start 1386999058.944 ERROR lxc_sync - invalid sequence number 1. expected 2
lxc-start 1386999058.952 ERROR lxc_start - failed to spawn 'hq91'
I dug and figured out that pivot_root has some limitations with ramfs,
So is it possible to run a container from ramfs? And how can we do that?
Any comments are appreciated.
More information about the lxc-users
mailing list