诺甘农圆盘

参考资料收集库

用户工具

站点工具


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.txt · 最后更改: packingbox