1 sudoapt-Get update2 3 sudoApt-getInstall 4apt-transport-HTTPS5AaoCertificates6 Curl7software-properties-Common8 9Curl-fssl https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add-Ten One sudoapt-Key fingerprint 0ebfcd88 A - sudoadd-apt-Repository - "Deb [arch=amd64] https://download.docker.com/linux/ubuntu \ the$ (Lsb_release-CS) -Stable" - - sudoapt-Get update + sudoApt-getInstallDocker-ce
mkdir tar zxf dotnet-sdk-2.1. 3. tar. Gz-c $HOME/dotnetexport PATH= $PATH: $HOME/dotnet
You may encounter the following error when you create a project after installation
Need to install a component 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组
Record the process of using Docker in Ubuntu14.04 LTS version