Home >Operation and Maintenance >Docker >What is the difference between openshift and docker

What is the difference between openshift and docker

WBOY
WBOYOriginal
2021-12-29 09:30:062311browse

Difference: 1. Docker as a project only focuses on runtime containers, while openshift includes both runtime containers and RESTAPI coordination web interface; 2. Docker’s default file system is AUFS and Overlay, while openShift’s The default file system is Etcd.

What is the difference between openshift and docker

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

What is the difference between openshift and docker

The main difference is:

Docker as a project only focuses on runtime Containers, and OpenShift (as a system) includes both runtime containers and REST APIs, orchestration and web interfaces to deploy and manage individual containers.

Comparing only runtime containers, both OpenShift and Docker use the kernel isolation feature to separate tenant processes.

For Docker primarily through LXC and OpenShift primarily through SELinux and Multi-Class Security (MCS). Both use cgroups to limit the tenant's CPU, memory and IO.

Upstream OpenShift is looking for LXC to reduce long-term work.

Docker uses AUFS for advanced disk and file-on-write copy-on-write sharing, OpenShift is neither required nor compatible with such a system.

Inside the container, OpenShift models functional units (web servers, databases) through "boxes", which are a set of shell script hooks that are called when the system is called. The API is described here. Cartridges are roughly similar to docker images.

Openshift also describes the API through which an agent (coordinator) communicates with a node (server hosting multiple tenant containers) to call endpoints in that container.

Recommended learning: "docker video tutorial"

The above is the detailed content of What is the difference between openshift and 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