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

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.

主站蜘蛛池模板: 叶城县| 铜鼓县| 桑日县| 本溪市| 桦川县| 黔江区| 喀喇| 凤凰县| 青冈县| 沁阳市| 霍州市| 北宁市| 金山区| 龙游县| 云安县| 伊春市| 平和县| 镇宁| 平利县| 蒙阴县| 临安市| 北辰区| 汝州市| 庐江县| 三门峡市| 陵川县| 章丘市| 都江堰市| 增城市| 二连浩特市| 榆树市| 寿光市| 开封市| 张家港市| 宜君县| 黎平县| 永宁县| 永川市| 靖宇县| 黄龙县| 凤山县|