Docker Engine 19.03.12
时间: 2024-04-24 18:18:40 浏览: 156
Docker Engine 19.03.12是Docker的一个版本,它是一个开源的容器化平台,用于构建和管理应用程序的容器。以下是关于Docker Engine 19.03.12的一些介绍:
1. 容器化平台:Docker Engine 19.03.12允许开发人员将应用程序及其依赖项打包到一个独立的容器中,使其可以在任何环境中运行,而无需担心环境差异性。
2. 轻量级和快速:Docker Engine 19.03.12使用了操作系统级虚拟化技术,使得容器相对于传统的虚拟机更加轻量级和快速启动。
3. 可移植性:Docker Engine 19.03.12提供了一个标准化的容器格式,使得容器可以在不同的操作系统和云平台上运行,提高了应用程序的可移植性。
4. 简化部署和扩展:Docker Engine 19.03.12提供了一套简单易用的命令行工具和API,使得应用程序的部署和扩展变得更加简单和高效。
5. 生态系统支持:Docker Engine 19.03.12拥有庞大的生态系统,提供了各种各样的容器镜像和工具,方便开发人员快速构建和部署应用程序。
相关问题
docker19.03安装部署
以下是在 Ubuntu 18.04 上安装 Docker 19.03 的步骤:
1. 卸载旧版本的 Docker:
```
sudo apt-get remove docker docker-engine docker.io containerd runc
```
2. 安装依赖:
```
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
```
3. 添加 GPG 密钥:
```
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
```
4. 添加 Docker APT 仓库:
```
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
```
5. 安装 Docker CE:
```
sudo apt-get update
sudo apt-get install docker-ce=5:19.03.0~3-0~ubuntu-bionic docker-ce-cli=5:19.03.0~3-0~ubuntu-bionic containerd.io
```
6. 验证 Docker 是否正确安装:
```
sudo docker run hello-world
```
如果一切顺利,你应该能够看到一个 Docker 容器成功运行并输出一些信息。
注意:Docker 版本号可以根据需要进行修改。
centos7 安装docker19.03
以下是在CentOS 7上安装Docker CE 19.03的步骤:
1.卸载旧版本的Docker(如果有):
```shell
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
```
2.安装依赖包:
```shell
sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
```
3.添加Docker CE存储库:
```shell
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
```
4.安装Docker CE:
```shell
sudo yum install docker-ce-19.03.0 docker-ce-cli-19.03.0 containerd.io
```
5.启动Docker并将其设置为开机启动:
```shell
sudo systemctl start docker
sudo systemctl enable docker
```
6.验证Docker是否正确安装:
```shell
sudo docker run hello-world
```
如果一切正常,你将看到一个欢迎信息。
阅读全文
相关推荐
















