Portainer CE
安装
官方文档:https://docs.portainer.io/v/ce-2.11/start/install/server/docker/linux
- 拉取镜像(默认latest):
docker pull portainer/portainer-ce
- 创建数据卷:
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
更新
官方文档:https://docs.portainer.io/v/ce-2.11/start/upgrade/docker
- 拉取最新镜像:
docker pull portainer/portainer-ce
- 停止旧容器:
docker stop portainer
- 删除旧容器:
docker rm portainer
- 创建并运行新容器:
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
Home Assistant
安装/更新
Home Assistant
Nextcloud
docker pull $docker_cdn/library/nextcloud
docker run -d \
-v nextcloud:/var/www/html \
-v apps:/var/www/html/custom_apps \
-v config:/var/www/html/config \
-v data:/var/www/html/data \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud
Emby Media Server
docker pull $docker_cdn/emby/embyserver
Nginx
docker pull $docker_cdn/library/nginx
File Browser
docker pull $docker_cdn/filebrowser/filebrowser
docker run \
-v /sharedfolders/HDD-DATA:/srv \
-p 8000:80 \
filebrowser/filebrowser
安全测试类
Oracle
oracle-11g
~~docker pull jaspeen/oracle-11g~~
~~docker volume create oracle11g_data~~