Docker是一套提供容器(英語:Container)的軟體。
啟動一個簡單的Ubuntu環境:
docker run -i -t --rm ubuntu:latest /bin/bash
然後把APT的伺服器換掉:
perl -pi -e 's/archive.ubuntu.com/tw.archive.ubuntu.com/g' /etc/apt/sources.list
apt update -y
裝些簡單的東西:
apt install -y curl vim-nox wget