官术网_书友最值得收藏!

Chapter 2. Docker Installation

Docker installation is pretty smooth in most of the operating systems, and there are very few chances of things going wrong. Docker Engine installation is supported mostly on all the Linux, Cloud, Windows, and Mac OS X environments. If the Linux version is not supported, then Docker Engine can be installed using binaries. Docker binary installation is mostly oriented for hackers who want to try out Docker on a variety of OS. It usually involves checking runtime dependencies, kernel dependencies, and using Docker platform-specific binaries in order to move ahead with installation.

Docker Toolbox is an installer, which can be used to quickly install and set up a Docker environment on your Windows or Mac machine. Docker toolbox also installs:

  • Docker client: It executes commands, such as build and run, and ship containers by communicating with the Docker daemon
  • Docker Machine: It is a tool used to install Docker Engine on virtual hosts and manages them with the help of Docker Machine commands
  • Docker Compose: It is a tool used to define and run multicontainer Docker applications
  • Kitematic: The Docker GUI that runs on Mac OS X and Windows operating system

The installation for Docker with toolbox as well as on various supported OSes is quite straightforward, but nevertheless we have listed potential pitfalls and troubleshooting steps involved.

In this chapter, we explore how to install Docker on various Linux distributions, such as the following:

  • Ubuntu
  • Red Hat Linux
  • CentOS
  • CoreOS
  • Fedora
  • SUSE Linux

All of the above OSes can be deployed on the bare-metal machines, but we have used AWS to deploy in some of the cases, as it's an ideal situation for a production environment. Also, it'll be faster to get the environment up and running in AWS. We have explained the steps for the same in the respective sections in this chapter, which will help you to troubleshoot and speed up the deployment on AWS.

主站蜘蛛池模板: 绵阳市| 上饶市| 定南县| 沁源县| 晋中市| 天门市| 交城县| 南澳县| 佳木斯市| 浑源县| 泾阳县| 策勒县| 黎平县| 庆安县| 铜梁县| 阿图什市| 屯留县| 桦南县| 东莞市| 托里县| 庆安县| 沁源县| 泗洪县| 利津县| 壶关县| 邓州市| 鹤岗市| 旌德县| 浦江县| 洮南市| 朝阳市| 交城县| 绍兴市| 绥棱县| 岳阳县| 瑞金市| 阿城市| 敦化市| 勃利县| 丹江口市| 安化县|