谷歌云Ubuntu19.04安装Docker+Portainer用到的命令
一、安装Docker
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test"
sudo apt update
sudo apt install docker-ce
二、检测Docker是否安装成功
docker -v
三、启动Docker及系统重启后能自动启动
systemctl start docker.service
systemctl enable docker.service
四、安装Potainer
docker volume create portainer_data
docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test"
sudo apt update
sudo apt install docker-ce
二、检测Docker是否安装成功
docker -v
三、启动Docker及系统重启后能自动启动
systemctl start docker.service
systemctl enable docker.service
四、安装Potainer
docker volume create portainer_data
docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
请教个问题,我也想用blogspot写博客,但是发现很多地方不方便,比如像你这样自己导入主题,然后文章列表页不要显示全文。请问是怎么做到的呀?
回复删除