linux_docker_debian_installation
这是本文档旧的修订版!
Debian安装docker的一键脚本
root@curl -fsSL https://get.docker.com -o get-docker.sh root@sh ./get-docker.sh
进化版
$ sudo apt-get update $ sudo apt-get install curl $ curl -fsSL https://get.docker.com/ | sh $ sudo usermod -aG docker <your_username>
参考资料:https://docs.sevenbridges.com/docs/install-docker-on-linux
update @20250623
增加安装Portainer-CE管理工具的脚本,管理网页是https://localhost:9443
docker volume create portainer_data 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:lts
如果你只想用http管理,可以改为以下的9000端口,管理网页是http://localhost:9000
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-ce:lts
参考资料:https://docs.portainer.io/start/install-ce/server/docker/linux
linux_docker_debian_installation.1750643762.txt.gz · 最后更改: 由 packingbox