Beginner’s Guide to runC
runC is a CLI tool for spawning and running containers according to the OCI specification. It was released by Docker container platform in 2015 as part of spinning out plumbing components. As expressed by the announcement:
runC is a lightweight, portable container runtime. It includes all of the plumbing code used by Docker to interact with system features related to containers. It is designed with the following principles in mind:
- Designed for security.
• Usable at large scale, in production, today.
• No dependency on the rest of the Docker platform: just the container runtime and nothing else.
And the goal was stated as : “ The goal of runC is to make standard containers available everywhere”
Primary features of runC are:
- Linux namespaces full support
- Native support of Linux security features such as Selinux, Apparmor
- Specifications governed by Open Container Initiative — part of Linux Foundation.
As part of my experience with runC, I have done quite a few exercises and I will share a few of them as part of this series. The setup is on CentOS 7 running on AWS infrastructure.
- Quick start to runC with Tomcat container
- Simple rootless containers with runC on Centos & Redhat
- Managing runC containers
- Network Setup With runC Containers
- runC and Docker Together
- runC Terminal and Run Modes
Happy containerizing…