Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Configuration Management with Chef-Solo

You're reading from  Configuration Management with Chef-Solo

Product type Book
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Naveed ur Rahman Naveed ur Rahman
Profile icon Naveed ur Rahman
Toc

The working of Docker


Docker containers are initially created by a base image. We can pull any image from the Docker main registry (a Docker image server is called a registry) and start from that point. Mostly, Linux versions are available on Docker. In short, this repository provides a GitHub-type version control system. We can pull the Docker images, make some changes, and commit these changes to the main repository. Currently, docker.io provides only public repositories, but in future, they are planning for private repositories. You can search for different images at https://index.docker.io/.

There are several articles available online to set up a private repository for Docker. We already installed it on our local machine. Let's pull a basic Ubuntu image and start with a Hello world example using the following command:

$ sudo docker run ubuntu /bin/echo hello world

This is demonstrated in the following screenshot:

The preceding command will look for an Ubuntu image from the local filesystem...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime