What system is docker used for?

WBOY
Release: 2022-01-17 10:55:24
Original
7241 people have browsed it

Docker can currently only run Linux systems, but virtualbox can be used to run docker in windows. In freebsd, the Linux simulation layer needs to be used to run docker natively. In mac, virtualbox needs to be used to run docker.

What system is docker used for?

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

What system is docker used for?

Docker initially relied on some functions of the linux kernel, so it could only run under the linux system at first. Commonly used distribution versions, CentOS, Ubuntu, Suse, and Federa are all supported;

In 2015, Microsoft implemented Docker under Windows Server 2016, so it can also run under Windows, but the technology is not mature enough, but It will definitely be improved day by day in the future. In addition, Docker provides Docker-machine, which allows other operating systems to run Docker. However, this is not native operation, but running a VM on your operating system, and then operating it remotely through a customized Docker client. It is a disguised operation, so it can only be used in development and testing environments.

Currently, it is more suitable for Docker to run under ubuntu, because the ubuntu kernel is updated quickly and supports aufs. Other systems can only use device-mapper, and aufs is faster than device-mapper.

Some preliminary knowledge you need to know to use Docker mainly includes the use of Linux and public cloud, because Docker mainly runs under Linux, and its basic image is also based on Linux. If you understand Linux, you will avoid There are many obstacles; and public cloud is a trend in the future, and it is also a contributing factor to why Docker is so popular. Linux is the originator of open source software. Docker currently basically relies on the Linux kernel, so you must first understand Linux. Public cloud hosting actually means hosting the host on the public Internet. Users do not need to worry about how to manage the host and leave these matters to professional vendors.

Currently only Linux systems can be run in docker.

Using docker in different environments:

1. Windows still relies on virtualbox to implement the basic system. Windows docker compatible with docker will appear in the future, but it is still early.

2. FreeBSD can already run Docker natively and requires a Linux simulation layer.

3. Mac needs to use virtualbox to use docker.

Recommended learning: "docker video tutorial"

The above is the detailed content of What system is docker used for?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!