Default / 默认 · 8月 31, 2021

“树莓派常用docker总结”

内容纲要

树莓派常用docker总结

树莓派常用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

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

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

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

docker exec -it 1bc8763227ce /bin/bash

docker pull vincentravera/jupyter-docker

docker run -p 8888:8888 -d vincentravera/jupyter-docker

%d 博主赞过: