1、potainer
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock \
-v /mnt/opt/data/docker/portainer:/data \
--restart=always --name portainer portainer/portainer-ce:latest
2、cloudreve
docker run -d \
--name cloudreve \
-p 5212:5212 \
-v /mnt/sda1/data/docker/cloudreve/uploads:/cloudreve/uploads \
-v /mnt/sda1/data/docker/cloudreve/config:/cloudreve/config \
-v /mnt/sda1/data/docker/cloudreve/db:/cloudreve/db \
-v /mnt/sda1/data/docker/cloudreve/avatar:/cloudreve/avatar \
-v /downloads:/downloads \
-e TZ="Asia/Shanghai" \
--restart always \
cloudreve/cloudreve:latest
3、nextcloud
docker run -d -p 8088:80 -v /mnt/sda1/data/docker/nextcloud/apps:/var/www/html/custom_apps \
-v /mnt/sda1/data/docker/nextcloud/config:/var/www/html/config \
-v /mnt/sda1/data/docker/nextcloud/data:/var/www/html/data \
-v /mnt/sda1/data/docker/nextcloud/nextcloud:/var/www/html \
--restart=always --name nextcloud nextcloud
4、elasticsearch
docker run -d \
--restart=always \
--name es \
--network es-net \
-p 9200:9200 \
-p 9300:9300 \
--privileged \
-v /usr/local/share/es/data:/usr/share/elasticsearch/data \
-v /usr/local/share/es/plugins:/usr/share/elasticsearch/plugins \
-e "discovery.type=single-node" \
-e "ES_JAVA_OPTS=-Xms512m -Xmx512m" \
elasticsearch:7.12.0
5、 gitlab
docker run -itd -p 9980:80 -p 9922:22 \
-v /E/docker/gitlab/etc:/etc/gitlab \
-v /E/docker/gitlab/log:/var/log/gitlab \
-v /E/docker/gitlab/opt:/var/opt/gitlab \
--privileged=true --name gitlab gitlab/gitlab-ce
6、jenkins
docker run --env JAVA_OPTS="-server -Xms1024m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=512m" \
--name docker-jenkins --privileged=true --restart=always -itd -p 8080:8080 -p 50000:50000 \
-e JENKINS_OPTS='--prefix=/jenkins' -e TZ='Asia/Shanghai' -e JENKINS_ARGS='--prefix=/jenkins' \
-v /E/docker/jenkins/jenkins_home:/var/jenkins_home jenkins/jenkins:lts-jdk11
7、aria2
参考链接:Aria2 Pro - 更好用的 Aria2 Docker 容器镜像 - P3TERX ZONE
docker run -d --name aria2 \
--restart unless-stopped \
--log-opt max-size=1m \
-e PUID=$UID \
-e PGID=$GID \
-e UMASK_SET=022 \
-e RPC_SECRET=12345678 \
-e RPC_PORT=6800 \
-e LISTEN_PORT=6888 \
-p 16800:6800 \
-p 16888:6888 \
-p 16888:6888/udp \
-v /d/docker/aria2/config:/config \
-v /d/downloads:/downloads p3terx/aria2-pro
8、ariang
docker run -d \
--name ariang \
--log-opt max-size=1m \
--restart always \
-p 16880:6880 \
p3terx/ariang
9、mysql
docker run --name mysql --privileged=true -d -p 3306:3306 \
-v /mnt/sda3/data/docker/mysql/mysql-files:/var/lib/mysql-files \
-v /mnt/sda3/data/docker/mysql/logs:/var/log/mysql \
-v /mnt/sda3/data/docker/mysql/data:/var/lib/mysql \
--restart always -e MYSQL_ROOT_PASSWORD=123456 mysql:latest
10、minio
docker run -p 9001:9000 --name minio -di --restart=always \
-e "MINIO_ROOT_USER=minio" \
-e "MINIO_ROOT_PASSWORD=minio123456" \
-v /usr/local/minio/data:/data \
-v /usr/local/minio/config:/root/.minio \
minio/minio:RELEASE.2021-06-17T00-10-46Z server /data
11、redis
创建目录
mkdir -p /usr/local/redis/conf
创建reedis配置文件
touch /usr/local/redis/conf/redis.conf
启动命令
docker run \
--name redis \
--restart=always \
--log-opt max-size=100m \
--log-opt max-file=2 \
-p 6379:6379 \
-v /usr/local//redis/conf/redis.conf:/etc/redis/redis.conf \
-v /usr/local/redis/data:/data \
-d redis redis-server /etc/redis/redis.conf \
--appendonly yes --requirepass 123456
12、安装gitea
docker run -d --name=gitea -p 222:22 -p 3000:3000 -v /mnt/sda1/gitea:/data -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro gitea/gitea:latest