Docker 资源索引

学习一门技术最好的方式就是博采众长,知行合一。本文我精选的一些 Docker 入门和进阶资源。


更新历史

  • 2017.04.26: 更新原理介绍链接
  • 2017.03.17: 完成初稿

我的文章

操作笔记

安装

环境:Trusty 14.04 (LTS)

Docker Engine

# Uninstall old versions
$ sudo apt-get remove docker docker-engine
# Recommended extra packages for Trusty 14.04
$ sudo apt-get update
$ sudo apt-get install \
linux-image-extra-$(uname -r) \
linux-image-extra-virtual
# Install using the repository
# Install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
# Add Docker’s official GPG key:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# amd64
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
# INSTALL DOCKER
# Update the apt package index.
$ sudo apt-get update
# Install the latest version of Docker
$ sudo apt-get install docker-ce
# Verify that Docker CE or Docker EE is installed correctly by running the hello-world image.
$ sudo docker run hello-world

Docker Compose

curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version

加速器

卸载

精选网络资源

原理

参考链接

捧个钱场?