Home  >  Article  >  Operation and Maintenance  >  What does machine mean in docker?

What does machine mean in docker?

WBOY
WBOYOriginal
2021-12-30 10:42:071948browse

In docker, machine is an official tool for installing Docker Engine on virtual hosts; you can install docker on remote machines and manage these virtual machines through the "docker-machine" command and docker.

What does machine mean in docker?

The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.

What does machine mean in docker

Docker Machine is a tool officially provided by Docker, which can help us install it on a remote machine Docker, or install the virtual machine directly on the virtual machine host and install Docker in the virtual machine. We can also manage these virtual machines and Docker through the docker-machine command.

You can create Docker hosts in your local box on Mac or Windows, or on a company intranet, data center, or on a public cloud platform such as AWS or Digtian Ocean.

Using the docker-machine command, you can start, view, stop and restart a host, upgrade the Docker client and daemon, and configure a Docker client to communicate with your host.

A vivid picture:

What does machine mean in docker?

Official specific usage scenario of Docker Machine:

  • You Currently, there is only an old version of MacOSX (such as 10.10.2) or Windows system, and I want to run docker on it.

  • I want to create a Docker host on a remote system.

Docker Engine runs on the local linux system. If your current system is Linux and you want to run docker commands on it, you only need to download and install Docker Eggine. However, if you want to create Docker hosts on the network, in the cloud, and locally, you need Docker Machine.

Whether it is Mac, Windows or Linux, you can install Docker Machine on it and use the docker-machine command to create and manage a large number of Docker hosts. It automatically creates the host, installs Docker Engine on the host, and then configures the docker client. Each managed host ("machine") is a combination of a Docker host and a configured client.

Recommended learning: "docker video tutorial"

The above is the detailed content of What does machine mean in docker?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn