O'Reilly logo

Mastering CoreOS by Sreenivas Makam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rkt

Rkt is the Container runtime from CoreOS based on the APPC specification. The following are some differences in Rkt compared to Docker:

  • Rkt is daemonless. The problem of Containers going away if the Docker daemon restarts does not exist with Rkt.
  • Rkt integrates well with systemd so that container resource limits can be set easily for the Containers.

There are three stages in the Rkt execution:

  • Stage0: This does the image discovery and retrieval and sets up a filesystem for stages 1 and 2.
  • Stage1: This sets up the execution environment for the container execution using the filesystem set up by stage0. Rkt uses systemd-nspawn to set up cgroups, networking, and so on in this stage. The goal here is to keep stage1 swappable by other implementations. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required