fix
This commit is contained in:
parent
074ea61838
commit
7f9f12c509
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker pull mongo
|
docker pull mongo
|
||||||
docker run -p 27017:27017 -v /data/db:/data/db -d mongo --name=mongodb
|
docker run -p 27017:27017 -v /data/db:/data/db -d mongo
|
||||||
sudo docker exec -i -t id /bin/bash
|
sudo docker exec -i -t id /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -1,18 +1,77 @@
|
|||||||
# env
|
# env
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main
|
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main
|
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main
|
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main
|
|
||||||
|
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial universe
|
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial universe
|
# newer versions of the distribution.
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates universe
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates universe
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security main
|
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security main
|
## Major bug fix updates produced after the final release of the
|
||||||
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security universe
|
## distribution.
|
||||||
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-security universe
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
|
||||||
|
|
||||||
|
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
|
||||||
|
## team. Also, please note that software in universe WILL NOT receive any
|
||||||
|
## review or updates from the Ubuntu security team.
|
||||||
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
|
||||||
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
|
||||||
|
|
||||||
|
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
|
||||||
|
## team, and may not be under a free licence. Please satisfy yourself as to
|
||||||
|
## your rights to use the software. Also, please note that software in
|
||||||
|
## multiverse WILL NOT receive any review or updates from the Ubuntu
|
||||||
|
## security team.
|
||||||
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
|
||||||
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
|
||||||
|
|
||||||
|
## N.B. software from this repository may not have been tested as
|
||||||
|
## extensively as that contained in the main release, although it includes
|
||||||
|
## newer versions of some applications which may provide useful features.
|
||||||
|
## Also, please note that software in backports WILL NOT receive any review
|
||||||
|
## or updates from the Ubuntu security team.
|
||||||
|
# deb http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
|
||||||
|
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
|
||||||
|
|
||||||
|
## Uncomment the following two lines to add software from Canonical's
|
||||||
|
## 'partner' repository.
|
||||||
|
## This software is not part of Ubuntu, but is offered by Canonical and the
|
||||||
|
## respective vendors as a service to Ubuntu users.
|
||||||
|
# deb http://archive.canonical.com/ubuntu xenial partner
|
||||||
|
# deb-src http://archive.canonical.com/ubuntu xenial partner
|
||||||
|
|
||||||
|
# deb http://security.ubuntu.com/ubuntu xenial-security main restricted
|
||||||
|
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
|
||||||
|
# deb http://security.ubuntu.com/ubuntu xenial-security universe
|
||||||
|
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
|
||||||
|
# deb http://security.ubuntu.com/ubuntu xenial-security multiverse
|
||||||
|
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
|
||||||
|
|
||||||
|
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
|
||||||
|
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
|
||||||
|
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
|
||||||
|
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
|
||||||
|
deb http://archive.canonical.com/ubuntu xenial partner
|
||||||
|
deb-src http://archive.canonical.com/ubuntu xenial partner
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
|
||||||
|
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
|
||||||
|
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
|
||||||
|
|
||||||
|
deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu xenial stable
|
||||||
|
# deb-src [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu xenial stable
|
||||||
|
|
||||||
```
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user