docker官網有ubuntu系統的各類安裝https://docs.docker.com/install/linux/docker-ce/ubuntu/linux
我試過用apt-get,很差用,最後選擇下載deb包安裝,下載地址:https://download.docker.com/linux/ubuntu/dists/trusty/pool/stable/amd64/docker
我下載了最新的docker版本(wget https://download.docker.com/linux/ubuntu/dists/trusty/pool/stable/amd64/docker-ce_18.06.3~ce~3-0~ubuntu_amd64.deb):json
{ "registry-mirrors": ["https://registry.docker-cn.com"] }
使用非root用戶使用dockerubuntu
重啓dockervim