"树莓派常用docker总结"
Published on Aug. 22, 2023, 12:08 p.m.
树莓派常用docker总结
美杜莎自动追剧神器
docker create \
--name=medusa \
--restart unless-stopped \
-v /home/pi/dirve/data/medusa:/config \
-v /home/pi/dirve/Download/transmission/TV:/downloads \
-v /home/pi/dirve/Download/TV:/tv \
-v /home/pi/dirve/:/home/pi/dirve/ \
-e PGID=1000 -e PUID=1000 \
-e TZ=Asia/Shanghai \
-p 8081:8081 \
linuxserver/medusa
couchpotato 自动追影神器
docker create \
--name=couchpotato \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-e UMASK_SET=022 \
-p 5050:5050 \
-v /home/pi/dirve/data/couchpotato:/config \
-v /home/pi/dirve/data/couchpotato/data:/downloads \
-v /home/pi/dirve:/movies \
-v /home/pi/dirve:/home/pi/dirve \
--restart unless-stopped \
linuxserver/couchpotato
rutorrent BT下载
docker create \
--name=rutorrent \
-e PUID=1000 \
-e PGID=1000 \
-p 8082:80 \
-p 5000:5000 \
-p 51413:51413 \
-p 6881:6881/udp \
-v /home/pi/dirve/data/rutorrent:/config \
-v /home/pi/dirve/Download:/downloads \
-v /home/pi/dirve:/home/pi/dirve \
--restart unless-stopped \
linuxserver/rutorrent
qbittorrent 最好的BT下载神器
docker create \
--name=qbittorrent \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
-e UMASK_SET=022 \
-e WEBUI_PORT=8080 \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \
-v /home/pi/dirve/data/qbittorrent:/config \
-v /home/pi/dirve/Download:/downloads \
-v /home/pi/dirve:/home/pi/dirve \
--restart unless-stopped \
linuxserver/qbittorrent
qbittorrent
docker create \
--name=qbittorrent \
-v /home/pi/dirve/data/qbittorrent:/config \
-v /home/pi/dirve/Download:/downloads \
-v /home/pi/dirve:/home/pi/dirve \
-e PGID=1000 -e PUID=1000 \
-e UMASK_SET=022 \
-e WEBUI_PORT=8080 \
-e TZ=Asia/Shanghai \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \
lsioarmhf/qbittorrent
kodexplorer
docker run -d -p 8083:80 --name kodexplorer -v "$PWD":/home/pi/dirve yangxuan8282/kodexplorer
docker create \
--name nginx-php-fpm --publish 99:80/tcp \
-v /home/pi/dirve:/home/pi/dirve \
-v /home/pi/dirve:/var/www/ \
edofede/nginx-php-fpm:latest
#docker start nginx-php-fpm
jupyter 8888 python教学神器
docker create \
--name jupyter -d -p 8888:8888 \
-v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/home/jovyan/.jupyter/jupyter_notebook_config.py \
-v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/root/.jupyter/jupyter_notebook_config.py \
-v /home/pi/dirve:/home/pi/dirve \
-v /home/pi/dirve/data/jupyter/notebooks:/home/jovyan/work \
maxjiang/rpi-jupyter-conda
进入ssh
docker exec -it jupyter /bin/bash
docker run --name jupyter -it -d -p 8888:8888 -v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/home/jovyan/.jupyter/jupyter_notebook_config.py -v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/root/.jupyter/jupyter_notebook_config.py -v /home/pi/dirve:/home/pi/dirve -v /home/pi/dirve/data/jupyter/notebooks:/home/jovyan/work maxjiang/rpi-jupyter-conda
docker run -d -p 8888:8888 movalex/rpi-jupyter-conda
ok
docker run --name jupyter -it -p 8888:8888 -v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/home/jovyan/.jupyter/jupyter_notebook_config.py -v /home/pi/dirve/data/jupyter/jupyter_notebook_config.py/jupyter_notebook_config.py:/root/.jupyter/jupyter_notebook_config.py -v /home/pi/dirve:/home/pi/dirve -v /home/pi/dirve/data/jupyter/notebooks:/home/jovyan/work movalex/rpi-jupyter-conda
真不好意思,树莓派持续吃土中。
明明知道很多用法,却总是被自己说服。