安装
- install docker
- switch mirror
- docker desktop
- docker run -d -p 80:80 docker/getting-started
错误解决方案
-
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
-
curl docker-compose permission denied
进入超级用户
sudo -i
切换为普通用户
su ubuntu
退出当前用户
exit