01.Docker安装
一、安装Docker
##1.安装curl命令 sudo apt-get install curl ##2.下载安装docker curl -sSL https://get.docker.com/ | sh
二、启动Docker
1.启动
sudo service docker start
2.验证启动是否成功
docker version
三、可能出现的问题
如果出现如下错误:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
需要添加当前用户到docker组中,然后重新登陆即可.
sudo usermod -a -G docker $USER
相关推荐
chenshuixian 2013-06-01
羽化大刀Chrome 2013-05-31
wutongyuq 2013-04-12
quanhaoH 2013-06-17
pigsmall 2020-11-19
mohanzb 2020-08-01
稻草人的高粱地 2014-07-02
SXIAOYI 2020-09-16
linuxprobe0 2013-04-01
83560193 2013-06-25
kidneybeans 2013-06-17
加菲猫园 2013-06-16
年轻就要对味 2014-07-11
smilebestSun 2014-06-12
xusong 2014-05-17
zfszhangyuan 2013-09-12
80183053 2013-09-12
gaozhlzh 2013-09-11