2 Star 3 Fork 3

ASCE/HelloDocker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker.sh 781 Bytes
一键复制 编辑 原始数据 按行查看 历史
dingxl 提交于 2020-03-09 14:13 . add docker.sh to install docker
#!/bin/bash
apt autoremove -y
apt update
apt -y install software-properties-common
# specified repositories or gedit /etc/apt/sources.list
add-apt-repository "deb https://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse"
apt update
# docker: update image source
apt -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
apt update
apt -y install docker-ce
# docker from snap
# snap install docker
# docker-compose
pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com docker-compose
alias dcmp=docker-compose
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qbaby/HelloDocker.git
[email protected]:qbaby/HelloDocker.git
qbaby
HelloDocker
HelloDocker
master

搜索帮助