ubuntu 14.04,debian 7 and 8 EOL

pull/402/head
khs1994 2019-04-29 09:26:29 +08:00
parent 4949de94c4
commit 8576e16b61
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
14 changed files with 20 additions and 114 deletions

View File

@ -12,11 +12,9 @@ about: Create a report to help us improve
* [x] Linux
* [x] CentOS 7
* [x] Ubuntu 14.04
* [x] Fedora
* [x] Ubuntu 16.04 +
* [x] Debian 7
* [x] Debian 8 +
* [x] CoreOS
* [x] Debian 9 +
* [x] macOS
* [x] Windows 10
* [x] Raspberry Pi (ARM)

View File

@ -12,11 +12,9 @@ about: Create a issue about Docker
* [x] Linux
* [x] CentOS 7
* [x] Ubuntu 14.04
* [x] Fedora
* [x] Ubuntu 16.04 +
* [x] Debian 7
* [x] Debian 8 +
* [x] CoreOS
* [x] Debian 9 +
* [x] macOS
* [x] Windows 10
* [x] Raspberry Pi (ARM)

View File

@ -3,7 +3,8 @@
* 1.1.0 2019-06-30
* `BuildKit`
* `docker manifest` 使
* `Ubuntu 14.04` `Debian 8` `Debian 7`
* 1.0.0: 2018-12-31
* v18.x
* Docker

View File

@ -22,7 +22,7 @@ $sysctl -w net.ipv4.ip_forward=1
#### 访
Docker dockerd iptables FORWARD `ACCEPT``DROP``--icc=true` `--icc=false` `--iptables=false` `iptables`
`/etc/docker/daemon.json` `{"icc": false}` Ubuntu 14.04 使 upstart `/etc/default/docker` `DOCKER_OPTS=--icc=false`
`/etc/docker/daemon.json` `{"icc": false}`
#### 访
`-icc=false` 访 `--link=CONTAINER_NAME:ALIAS` 访

View File

@ -100,7 +100,7 @@ $ docker run --network=my-net --ip=172.25.3.3 -itd --name=my-container busybox
### Docker
使 `upstart` Ubuntu 14.04 `/etc/default/docker`使 `systemd` Ubuntu 16.04Centos `/etc/docker/daemon.json`
使 `systemd` Ubuntu 16.04Centos `/etc/docker/daemon.json`
### Docker

View File

@ -6,7 +6,7 @@
`<仓库名>:<标签>` `latest`
[Ubuntu ](https://hub.docker.com/_/ubuntu) 为例,`ubuntu` 是仓库的名字,其内包含有不同的版本标签,如,`16.04`, `18.04`。我们可以通过 `ubuntu:14.04`,或者 `ubuntu:18.04` 来具体指定所需哪个版本的镜像。如果忽略了标签,比如 `ubuntu`,那将视为 `ubuntu:latest`。
[Ubuntu ](https://hub.docker.com/_/ubuntu) 为例,`ubuntu` 是仓库的名字,其内包含有不同的版本标签,如,`16.04`, `18.04`。我们可以通过 `ubuntu:16.04`,或者 `ubuntu:18.04` 来具体指定所需哪个版本的镜像。如果忽略了标签,比如 `ubuntu`,那将视为 `ubuntu:latest`。
** `jwilder/nginx-proxy` Docker Registry 使 Docker Registry

View File

@ -56,7 +56,6 @@ crashsystems/gitlab-docker A trusted, regularly updated build of GitL.
sylvainlasnier/memcached This is a Memcached 1.4.14 docker images b... 16 [OK]
ubuntu-upstart Upstart is an event-based replacement for ... 16 [OK]
mbentley/ubuntu-django-uwsgi-nginx 16 [OK]
ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with ansible 15 [OK]
clue/ttrss The Tiny Tiny RSS feed reader allows you t... 14 [OK]
dockerfile/ubuntu-desktop Trusted automated Ubuntu Desktop (LXDE) (h... 14 [OK]
tutum/ubuntu Ubuntu image with SSH access. For the root... 12 [OK]

View File

@ -18,5 +18,3 @@ UUID APP IMAGE NAME STATE CREATED STARTED NETWORKS
##
`Docker``CoreOS` `Docker`使
`CoreOS` `Rkt``Rkt`

View File

@ -8,32 +8,33 @@
Web `/`
[OpenVZ](https://openvz.org) 的 Ubuntu 14.04 [模板](https://openvz.org/Download/template/precreated)的镜像:
[OpenVZ](https://openvz.org) 的 Ubuntu 16.04 [模板](https://openvz.org/Download/template/precreated)的镜像:
```bash
$ docker import \
http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64-minimal.tar.gz \
openvz/ubuntu:14.04
Downloading from http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64-minimal.tar.gz
sha256:f477a6e18e989839d25223f301ef738b69621c4877600ae6467c4e5289822a79B/78.42 MB
http://download.openvz.org/template/precreated/ubuntu-16.04-x86_64.tar.gz \
openvz/ubuntu:16.04
Downloading from http://download.openvz.org/template/precreated/ubuntu-16.04-x86_64.tar.gz
sha256:412b8fc3e3f786dca0197834a698932b9c51b69bd8cf49e100c35d38c9879213
```
`ubuntu-14.04-x86_64-minimal.tar.gz` `openvz/ubuntu:14.04`
`ubuntu-16.04-x86_64.tar.gz` `openvz/ubuntu:16.04`
`docker image ls`
```bash
$ docker image ls openvz/ubuntu
REPOSITORY TAG IMAGE ID CREATED SIZE
openvz/ubuntu 14.04 f477a6e18e98 55 seconds ago 214.9 MB
openvz/ubuntu 16.04 412b8fc3e3f7 55 seconds ago 505MB
```
```bash
$ docker history openvz/ubuntu:14.04
$ docker history openvz/ubuntu:16.04
IMAGE CREATED CREATED BY SIZE COMMENT
f477a6e18e98 About a minute ago 214.9 MB Imported from http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64-minimal.tar.gz
f477a6e18e98 About a minute ago 214.9 MB Imported from http://download.openvz.org/template/precreated/ubuntu-16.04-x86_64.tar.gz
```
### `docker save` `docker load`

View File

@ -10,8 +10,6 @@ Docker CE 支持以下版本的 [Debian](https://www.debian.org/intro/about) 操
* Buster 10
* Stretch 9
* Jessie 8 (LTS) (Docker CE v18.06 )
* Wheezy 7.7 (EOL) (Docker CE v18.03 )
####
@ -23,16 +21,10 @@ $ sudo apt-get remove docker \
docker.io
```
#### Debian 7 Wheezy
Debian 7 3.2 Docker CE [`backports`](https://backports.debian.org/Instructions/) 的内核。
### 使 APT
apt 使 HTTPS 使 HTTPS CA
Debian 8 Jessie Debian 9 Stretch 使:
```bash
$ sudo apt-get update
@ -45,20 +37,6 @@ $ sudo apt-get install \
software-properties-common
```
Debian 7 Wheezy 使
```bash
$ sudo apt-get update
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
lsb-release \
python-software-properties
```
使
GPG
@ -88,14 +66,6 @@ $ sudo add-apt-repository \
> Docker CE APT Docker CE stable test nightly
Debian 7
`/etc/apt/sources.list` deb-src 使 #
```bash
deb-src [arch=amd64] https://download.docker.com/linux/debian wheezy stable
```
#### Docker CE
apt `docker-ce`
@ -124,12 +94,6 @@ $ sudo systemctl enable docker
$ sudo systemctl start docker
```
Debian 7 Wheezy 使
```bash
$ sudo service docker start
```
### docker
`docker` 使 [Unix socket](https://en.wikipedia.org/wiki/Unix_domain_socket) 与 Docker 引擎通讯。而只有 `root` 用户和 `docker` 组的用户才可以访问 Docker 引擎的 Unix socket。出于安全考虑一般 Linux 系统上不会直接使用 `root` 用户。因此,更好地做法是将需要使用 `docker` 的用户加入 `docker` 用户组。

View File

@ -12,20 +12,6 @@
Docker `https://registry.docker-cn.com`
### Ubuntu 14.04Debian 7 Wheezy
使 [upstart](http://upstart.ubuntu.com/) 的系统而言,编辑 `/etc/default/docker` 文件,在其中的 `DOCKER_OPTS` 中配置加速器地址:
```bash
DOCKER_OPTS="--registry-mirror=https://registry.docker-cn.com"
```
```bash
$ sudo service docker restart
```
### Ubuntu 16.04+Debian 8+CentOS 7
使 [systemd](https://www.freedesktop.org/wiki/Software/systemd/) 的系统,请在 `/etc/docker/daemon.json` 中写入如下内容(如果文件不存在请新建该文件)

View File

@ -10,7 +10,6 @@ Docker CE 支持以下版本的 [Ubuntu](https://www.ubuntu.com/server) 操作
* Bionic 18.04 (LTS)
* Xenial 16.04 (LTS)
* Trusty 14.04 (LTS) (Docker CE v18.06 )
Docker CE 64 x86 ARM Ubuntu LTSLong-Term-Support 5 使 LTS
@ -24,24 +23,6 @@ $ sudo apt-get remove docker \
docker.io
```
#### Ubuntu 14.04
Ubuntu 14.04 (`linux-image-extra-*`) `AUFS` Docker 使 `AUFS`
```bash
$ sudo apt-get update
$ sudo apt-get install \
linux-image-extra-$(uname -r) \
linux-image-extra-virtual
```
#### Ubuntu 16.04 +
Ubuntu 16.04 + Docker CE 使 `overlay2` ,
### 使 APT
`apt` 使 HTTPS 使 HTTPS CA
@ -114,12 +95,6 @@ $ sudo systemctl enable docker
$ sudo systemctl start docker
```
Ubuntu 14.04 使
```bash
$ sudo service docker start
```
### docker
`docker` 使 [Unix socket](https://en.wikipedia.org/wiki/Unix_domain_socket) 与 Docker 引擎通讯。而只有 `root` 用户和 `docker` 组的用户才可以访问 Docker 引擎的 Unix socket。出于安全考虑一般 Linux 系统上不会直接使用 `root` 用户。因此,更好地做法是将需要使用 `docker` 的用户加入 `docker` 用户组。

View File

@ -97,20 +97,6 @@ REPOSITORY TAG IMAGE ID CREAT
Docker `HTTPS` Docker `HTTPS` 访
#### Ubuntu 14.04, Debian 7 Wheezy
使 `upstart` `/etc/default/docker` `DOCKER_OPTS`
```bash
DOCKER_OPTS="--registry-mirror=https://registry.docker-cn.com --insecure-registries=192.168.199.100:5000"
```
```bash
$ sudo service docker restart
```
#### Ubuntu 16.04+, Debian 8+, centos 7
使 `systemd` `/etc/docker/daemon.json`

View File

@ -14,7 +14,7 @@ Docker 目前支持的联合文件系统包括 `OverlayFS`, `AUFS`, `Btrfs`, `VF
|Linux | Docker 使 |
| :-- | :-- |
|Docker CE on Ubuntu | `overlay2` (Ubuntu 14.04.4 +, 16.04 +) |
|Docker CE on Ubuntu | `overlay2` (16.04 +) |
|Docker CE on Debian | `overlay2` (Debian Stretch), `aufs`, `devicemapper` |
|Docker CE on CentOS | `overlay2` |
|Docker CE on Fedora | `overlay2` |