Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When an container is created (last updated with Ubuntu 16.04.1) it is tiny,

AttributeSizeComment
Disk Space337 MBThat's the entire operating system because it can mount shared core kernel files from the Host. Better yet as Read-Only
Memory (externally viewing Container)12.96 MiB ~ 1.7 MBUsing lxc-info which excludes the shared kernal memory
Memory (Inside Container)5.6 MBSmaller hence because the container leverages the host OS. Note, need to speak to LXC guys to understandy why external versus internal difference.
Processes (Inside Container)15Container leverages the host OS.

 

Limitations

Kernel functionality list that cannot be used inside of a container,

...

Note, this article was last tested with LXC 1.x.

Tip

Best to use your own Linux machine, but if in a pinch, you can try it out on the Linux Containers website for free.


Create Regular Privileged Container

...

Note

If your host is mounting another folder (ie a network share). You must mount in your host first then start your container.

 


Moving Container to New Host

...

Animated Gif of Traditional Virtualization vs Container - https://leandromoreira.com.br/2016/02/06/from-lxc-to-docker-machine-and-cloudery/