docker for ubuntu安装
生活随笔
收集整理的這篇文章主要介紹了
docker for ubuntu安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
添加apt倉庫
sudo apt-get -y install apt-transport-https ca-certificates curl
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
安裝Docker CE Stable版 本
sudo apt-get install docker-ce
驗證安裝?
sudo docker run hello-world
總結
以上是生活随笔為你收集整理的docker for ubuntu安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: nginx https http2
- 下一篇: ubuntu18.04安装pycharm