[RFC] [PATCH 0/3] containers: introduction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Following is a small patchset implementing what I was describing
about earlier, namely semantics for a hierarchical container
naming scheme.

What works:

	1.  ls -l /proc/$$/container
	  shows the full hierarchical name of the container;

	2.  mount -t containerfs none /container
	  results in a file tree under /container representing the
	  full container hierarchy

	3.  cd /proc/$$/container; ls
	  results in a listing of child containers

What doesn't work:
	1. The /proc/$$/container link always appears dead (red
	in bash on my fedora test system) because it points
	into a kern_mounted fs.

	2. Features like

		cd /proc/$$/container
		mv container_3 my_child_container
	
	  to rename a container or

		cd /proc/$$/container
		rm container_3

	  to kill all processes a container are unimplemented.

	3. Semantics for entering a namespace are not only
	  unimplemented, but entirely unconsidered thus far.
	  I suppose one cool way to enter a container would
	  be

	  	ln -s /proc/$$/container/child_container /proc/$$/container

	  but that

	  	a. Does not provide the ability to switch only
		   some of the namespaces, as Herbert wants.
		b. May be unimplementable using proc support
		   as is - not sure.

thanks,
-serge


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux