menu

树莓派常用安装docker命令

  • date_range 14/06/2019 00:00 info
    sort
    default
    label

树莓派常用安装docker命令

树莓派常用安装docker命令

===

美杜莎

docker pull linuxserver/medusa

docker create \
  --name=medusa \
  --restart unless-stopped \
    -v /home/pi/data/medusa:/config \
    -v /home/pi/:/home/pi/ \
    -e PGID=1000 -e PUID=1000  \
    -e TZ=Asia/Shanghai \
    -p 8081:8081 \
  linuxserver/medusa

docker create –name=medusa –restart unless-stopped -v /home/pi/data/medusa:/config -v /home/pi/dirve/:/media/AiDisk_a1 -e PGID=1000 -e PUID=1000
-e TZ=Asia/Shanghai -p 8081:8081 linuxserver/medusa:arm32v7-latest

docker run -d –name=medusa –restart unless-stopped -v /mnt/:/mnt/ -e PGID=0 -e PUID=0
-e TZ=Asia/Shanghai -p 8081:8081 linuxserver/medusa:arm32v7-latest

linuxserver/medusa

couchpotato

docker create \
  --name=couchpotato \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Asia/Shanghai  \
  -e UMASK_SET=022 \
  -p 5050:5050 \
  -v /home/pi/data/couchpotato:/config 
    -v /home/pi/:/home/pi/ \
  --restart unless-stopped \
  linuxserver/couchpotato
  
  
  

docker create –name=couchpotato -e PUID=1000 -e PGID=1000 -e TZ=Asia/Shanghai
-e UMASK_SET=022 -p 5050:5050 -v /home/pi/data/couchpotato:/config -v /home/pi/dirve/:/media/AiDisk_a1 –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

emby/embyserver_arm32v7_neon

docker run -d 
    --name=emby 
    --restart unless-stopped 
    --volume /home/pi/data/emby:/config
    -v /home/pi/:/home/pi/ 

    --publish 8096:8096
    --publish 8920:8920
    --env UID=1000
    --env GID=1000 
    --env GIDLIST=1000 
    emby/embyserver_arm32v7_neon

docker run -d –name=emby
–restart unless-stopped –volume /home/pi/data/emby:/config -v /home/pi/:/home/pi/ –publish 8096:8096 –publish 8920:8920 –env UID=1000
–env GID=1000 –env GIDLIST=1000
emby/embyserver_arm32v7

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