Sign inSign up

williamyeh/show-kernel-info

By williamyeh

•Updated almost 11 years ago

Simple tool to display info about Linux kernel and distribution.

Image
0

659

williamyeh/show-kernel-info repository overview

⁠"Shared Kernel" and root file system features of Docker

This directory is to demostrate the "shared kernel" and root file system features of Docker, using show-kernel-info.sh⁠ as example.

To run all experiments in this directory, VirtualBox⁠ and Vagrant⁠ should be installed first. You may read my Vagrant Tutorials⁠ series for more information about Vagrant.

⁠For the impatient

See my screencast: "Shared Kernel" and root file system features of Docker⁠.

⁠Preparation

Prepare environments for experiment.

CAUTION: This may take minutes. Do it at a place with good bandwidth.

$ ./prepare.sh

⁠Usage

⁠Baseline: native info

For the CentOS case:

$ cd centos
$ vagrant up
$ vagrant ssh -c "cd /vagrant ; ./show-kernel-info.sh"

For the Ubuntu case:

$ cd ubuntu-with-docker-image
$ vagrant up
$ vagrant ssh -c "cd /vagrant ; ./show-kernel-info.sh"

For the CoreOS case:

$ cd coreos-with-docker-image
$ vagrant up
$ vagrant ssh -c "cd /vagrant ; ./show-kernel-info.sh"
⁠Dockerized info

For the Ubuntu case:

$ cd ubuntu-with-docker-image
$ vagrant up
$ vagrant ssh -c "docker run --rm williamyeh/show-kernel-info"

For the CoreOS case:

$ cd coreos-with-docker-image
$ vagrant up
$ vagrant ssh -c "docker run --rm williamyeh/show-kernel-info"

Tag summary

Content type

Image

Digest

sha256:617ef301c…

Size

83 MB

Last updated

almost 11 years ago

docker pull williamyeh/show-kernel-info