mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 06:28:56 +00:00
Update soft to latest version
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
parent
0fd981acc2
commit
18ab3069a3
@ -4,7 +4,7 @@
|
||||
|
||||
[Nginx](https://en.wikipedia.org/wiki/Nginx) 是开源的高效的 Web 服务器实现,支持 HTTP、HTTPS、SMTP、POP3、IMAP 等协议。
|
||||
|
||||
该仓库位于 `https://hub.docker.com/_/nginx/` ,提供了 Nginx 1.0 ~ 1.17.x 各个版本的镜像。
|
||||
该仓库位于 `https://hub.docker.com/_/nginx/` ,提供了 Nginx 1.0 ~ 1.18.x 各个版本的镜像。
|
||||
|
||||
## 使用方法
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
[Node.js](https://en.wikipedia.org/wiki/Node.js) 是基于 JavaScript 的可扩展服务端和网络软件开发平台。
|
||||
|
||||
该仓库位于 `https://hub.docker.com/_/node/` ,提供了 Node.js 0.10 ~ 12.x 各个版本的镜像。
|
||||
该仓库位于 `https://hub.docker.com/_/node/` ,提供了 Node.js 0.10 ~ 14.x 各个版本的镜像。
|
||||
|
||||
## 使用方法
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
[Redis](https://en.wikipedia.org/wiki/Redis) 是开源的内存 Key-Value 数据库实现。
|
||||
|
||||
该仓库位于 `https://hub.docker.com/_/redis/` ,提供了 Redis 3.x ~ 5.x 各个版本的镜像。
|
||||
该仓库位于 `https://hub.docker.com/_/redis/` ,提供了 Redis 3.x ~ 6.x 各个版本的镜像。
|
||||
|
||||
## 使用方法
|
||||
|
||||
|
@ -4,14 +4,14 @@
|
||||
|
||||
[Ubuntu](https://en.wikipedia.org/wiki/Ubuntu) 是流行的 Linux 发行版,其自带软件版本往往较新一些。
|
||||
|
||||
该仓库位于 `https://hub.docker.com/_/ubuntu/` ,提供了 Ubuntu 从 12.04 ~ 19.04 各个版本的镜像。
|
||||
该仓库位于 `https://hub.docker.com/_/ubuntu/` ,提供了 Ubuntu 从 12.04 ~ 20.04 各个版本的镜像。
|
||||
|
||||
## 使用方法
|
||||
|
||||
默认会启动一个最小化的 Ubuntu 环境。
|
||||
|
||||
```bash
|
||||
$ docker run --name some-ubuntu -it ubuntu:18.04
|
||||
$ docker run --name some-ubuntu -it ubuntu:20.04
|
||||
root@523c70904d54:/#
|
||||
```
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
```bash
|
||||
$ docker-compose --version
|
||||
|
||||
docker-compose version 1.24.1, build 4667896b
|
||||
docker-compose version 1.25.5, build 4667896b
|
||||
```
|
||||
|
||||
Linux 系统请使用以下介绍的方法安装。
|
||||
@ -21,7 +21,7 @@ Linux 系统请使用以下介绍的方法安装。
|
||||
例如,在 Linux 64 位系统上直接下载对应的二进制包。
|
||||
|
||||
```bash
|
||||
$ sudo curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
|
||||
$ sudo curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
|
||||
|
||||
$ sudo chmod +x /usr/local/bin/docker-compose
|
||||
```
|
||||
@ -42,7 +42,7 @@ $ sudo pip install -U docker-compose
|
||||
|
||||
```bash
|
||||
Collecting docker-compose
|
||||
Downloading docker-compose-1.24.1.tar.gz (149kB): 149kB downloaded
|
||||
Downloading docker-compose-1.25.5.tar.gz (149kB): 149kB downloaded
|
||||
...
|
||||
Successfully installed docker-compose cached-property requests texttable websocket-client docker-py dockerpty six enum34 backports.ssl-match-hostname ipaddress
|
||||
```
|
||||
@ -50,7 +50,7 @@ Successfully installed docker-compose cached-property requests texttable websock
|
||||
## bash 补全命令
|
||||
|
||||
```bash
|
||||
$ curl -L https://raw.githubusercontent.com/docker/compose/1.24.1/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
|
||||
$ curl -L https://raw.githubusercontent.com/docker/compose/1.25.5/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
|
||||
```
|
||||
|
||||
## 卸载
|
||||
|
@ -44,9 +44,9 @@ $ brew cask install docker
|
||||
|
||||
```bash
|
||||
$ docker --version
|
||||
Docker version 19.03.1, build 74b1e89
|
||||
Docker version 19.03.8, build afacb8b
|
||||
$ docker-compose --version
|
||||
docker-compose version 1.24.1, build 4667896b
|
||||
docker-compose version 1.25.5, build 8a1c60f6
|
||||
$ docker-machine --version
|
||||
docker-machine version 0.16.1, build cce350d7
|
||||
```
|
||||
|
@ -9,7 +9,7 @@
|
||||
执行以下命令即可部署 Dashboard:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
|
||||
```
|
||||
|
||||
## 访问
|
||||
|
10
manifest
10
manifest
@ -1,8 +1,12 @@
|
||||
DOCKER_VERSION=19.03.1
|
||||
DOCKER_COMPOSE_VERSION=1.24.1
|
||||
DOCKER_VERSION=19.03.8
|
||||
DOCKER_COMPOSE_VERSION=1.25.5
|
||||
DOCKER_MACHINE_VERSION=0.16.1
|
||||
ETCD_VERSION=3.4.0
|
||||
KUBERNETES_VERSION=1.14.3
|
||||
KUBERNETES_DASHBOARD=2.0.0-beta8
|
||||
KUBERNETES_DASHBOARD=2.0.0
|
||||
UBUNTU=18.04
|
||||
DEBIAN=9
|
||||
NGINX_VERSION=1.18.x
|
||||
NODE_VERSION=14.x
|
||||
PHP_VERSION=7.x
|
||||
REDIS_VERSION=6.x
|
||||
|
Loading…
Reference in New Issue
Block a user