官网地址
https://docs.portainer.io/start/install-ce/server/docker/linux
1.First, create the volume that Port
docker volume create portainer_data
2.下载并安装容器
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
3.登录
https://localhost:9443