docker 容器使用记录

docker 容器使用记录

https://hub.docker.com

mtg

1
docker run --rm nineseconds/mtg generate-secret tls -c www.bing.com
1
docker run -d --restart always --name mtg --ulimit nofile=51200:51200 -p 22283:3128 nineseconds/mtg run eed80e9f4589b8a6b8bca6473b1c391a9f7777772e77696c6c69616d6c6f6e672e696e666f
1
tg://proxy?port=22283&secret=eed80e9f4589b8a6b8bca6473b1c391a9f7777772e77696c6c69616d6c6f6e672e696e666f&server=ip

kms

1
docker run -d -p 1688:1688 --restart=always --name kms mogeko/vlmcsd

office 2010

1
2
3
4
cd C:\Program Files\Microsoft Office\Office14
cscript ospp.vbs /sethst:ip
cscript ospp.vbs /act
cscript ospp.vbs /dstatus

music

1
docker run -d --name music --restart=always -p 264:264 -v /root/music:/var/www/html/cache oldiy/music-player-docker

speedtest

1
2
docker pull ilemonrain/html5-speedtest
docker run -d --name speedtest --restart always -p 6688:80 ilemonrain/html5-speedtest

typecho

1
2
3
4
5
6
7
8
9
10
11
docker pull 80x86/typecho:amd64

docker run -d \
--name=typecho \
--restart always \
--mount type=tmpfs,destination=/tmp \
-v /srv/http/typecho:/data \
-e PHP_TZ=Asia/Shanghai \
-e PHP_MAX_EXECUTION_TIME=600 \
-p 8000:80 \
80x86/typecho:amd64

nanpblog

1
2
3
4
5
6
7
8
9
10
11
12
13
14
mkdir -p /nano/config /nano/storage /nano/theme

docker run -d \
--name nanoblog \
-e PUID=1000 \
-e PGID=100 \
-e WEB_PORT=8082 \
-e SERVER_URL=http://127.0.0.1:8082 \
--network host \
-v /nano/config:/config \
-v /nano/storage:/storage \
-v /nano/theme:/theme \
--mount type=tmpfs,destination=/tmp \
80x86/nanoblog:latest

百度网盘

1
2
3
4
5
docker run -d --name=baidupcs \
-p 5299:5299 \
-v /root/Downloads:/root/Downloads \
-v /root/Downloads/defaults:/defaults \
quchaonet/baidupcs

nginx alpine

1
2
3
4
5
6
7
8
docker run -d \
-p 80:80 -p 443:443 \
--name nginx \
-v /docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v /docker/nginx/conf.d/:/etc/nginx/conf.d/ \
-v /docker/nginx/log/:/var/log/nginx/ \
-v /docker/nginx/cert/:/etc/nginx/cert/ \
nginx:alpine

EasyDockerWeb

1
2
3
4
5
6
docker run -it -d \
--name=dockerweb \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 3000:3000 \
qfdk/easydockerweb

rss 阅读器

1
docker run --name selfoss -d -p 8888:8888 -e CRON_PERIOD=30m -v /root/selfoss:/selfoss/data hardware/selfoss

ss-lib

1
$ docker run -d -p 13663:13663 -p 13663:13663/udp --name ss-libev --restart=always -v /etc/shadowsocks-libev:/etc/shadowsocks-libev teddysun/shadowsocks-libev
1
2
mkdir -p /etc/shadowsocks-libev
nano /etc/shadowsocks-libev/config.json
1
2
3
4
5
6
7
8
9
10
11
12
{
"server":"0.0.0.0",
"server_port":13663,
"password":"FXvZ8vjGNB",
"timeout":300,
"method":"aes-256-gcm",
"fast_open":false,
"nameserver":"8.8.8.8",
"mode":"tcp_and_udp",
"plugin":"obfs-server",
"plugin_opts":"obfs=tls"
}

jellyfin

  • home
1
2
3
4
5
6
7
8
9
docker run -d --name myjellyfin \
-v /volume2/docker/jellyfin/config:/config \
-v /volume2/docker/jellyfin/cache:/cache \
-v /volume2/dsm/QNAP:/media \
-p 8096:8096 \
-p 8920:8920 \
--device=/dev/dri/renderD128 \
--restart unless-stopped \
jellyfin/jellyfin:10.6.4-amd64

VNC

1
docker run -d --name VNC --restart=always -p 8083:8083 -p 5900:5900 oldiy/chrome-novnc:latest

RRYS

1
docker run -d --name rrshare -p 3001:3001 -v /volume2/dsm/QNAP/tv/rrshare:/opt/work/store foxbcd/rrshareweb
1
docker run -d --name rrshare -p 3001:3001 -v /volume2/dsm/QNAP/tv/rrshare:/downloads mengbai/rrshareweb

aria2

1
2
3
4
5
docker run --name aria2 -d \
-p 6800:6800 -p 6880:80 -p 6888:8080 \
-v /data/downloads:/aria2/downloads \
-v /etc/aria2:/aria2/conf/ \
-e SECRET=miyue mengbai/aria2-ariang