Book Image

CoreOS Essentials

By : Rimantas Mocevicius
Book Image

CoreOS Essentials

By: Rimantas Mocevicius

Overview of this book

<p>This book will help you get up and running on using CoreOS to develop effective computing networks. You will begin with understanding the basics of CoreOS. You will then discover what etcd is and how it is used, followed by launching Docker containers with systemd and fleet. Learn how to manage clusters, read system logs, and customize with cloud-config. You will set up the deployment to production using Docker builder and a private Docker registry. You will also see how to set up and use CoreUpdate and Enterprise Registry, and get an introduction to the new App Container called rkt and the newly introduced cluster manager known as Kubernetes.</p> <p>This book will equip you with all the information you need to leverage the power of CoreOS and the related containers for the effective deployment of your applications.</p>
Table of Contents (17 chapters)
CoreOS Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running streamlined Docker images with rkt


As there are thousands of docker images on the public Docker hub, rkt allows you to use them very easily. Alternatively, you might have some docker images and would like to run them with rkt too, without building new rkt ACI images, to see how they work with rkt.

Running Docker images is very much the same as it was in previous examples:

  1. As Docker images do not support signature verification yet, we just skip the verification step and fetch one with the --insecure-skip-verify flag:

    $ sudo rkt --insecure-skip-verify fetch docker://nginx
    
  2. The last line shown in the preceding screenshot represents the rkt image ID of the converted ACI, and this can be used to run with rkt :

    $ sudo rkt --insecure-skip-verify run sha512-13a9c5295d8c13b9ad94e37b25b2feb2
    
  3. Also we can run in this way, where the image will be downloaded and then run:

    $ sudo rkt --insecure-skip-verify run docker://nginx
    
  4. If we want to use volumes with Docker images, we run this line:

    $ sudo rkt...