記錄Ubuntu14.04 LTS版本中使用Docker的過程
阿新 • • 發佈:2018-01-25
png tab 創建項目 tran sport 需要 ubuntu bsp log
1 sudo apt-get update 2 3 sudo apt-get install 4 apt-transport-https 5 ca-certificates 6 curl 7 software-properties-common 8 9 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 10 11 sudo apt-key fingerprint 0EBFCD88 12 13 sudo add-apt-repository14 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ 15 $(lsb_release -cs) 16 stable" 17 18 sudo apt-get update 19 sudo apt-get install docker-ce
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.1.3.tar.gz -C $HOME/dotnet export PATH=$PATH:$HOME/dotnet
安裝完後創建項目時可能會遇到以下錯誤
需要安裝一個組件apt-get install libunwind8-dev
/etc/docker/daemon.json # config insecure registries & registry mirrors
sudo service docker restart
sudo gpasswd -a ${USER} docker #避免每次輸入sudo執行docker命令,goups username
newgrp - docker #將當前登錄會話切換到Docker組
記錄Ubuntu14.04 LTS版本中使用Docker的過程