zorruno wikki: history "Docker Notes"

Revision history for DockerOnControlPi2017


Revision [5208]

Last edited on 2020-02-09 08:56:49 by ZorrUno

No Differences

Revision [5207]

Edited on 2020-02-09 08:56:49 by ZorrUno
Additions:
CategoryDocker


Revision [3120]

Edited on 2018-05-06 17:21:38 by ZorrUno
Additions:
-e PUID=1000 -e PGID=1000 \
-e TZ=Pacific/Auckland \
Deletions:
-e PUID=<UID> -e PGID=<GID> \
-e TZ=<timezone> \


Revision [3119]

Edited on 2018-05-06 17:17:18 by ZorrUno
Additions:
===Plex Server===
%%docker create \
--name=plex \
--net=host \
-e VERSION=latest \
-e PUID=<UID> -e PGID=<GID> \
-e TZ=<timezone> \
-v /dockervolumes/database:/config \
-v /dockervolumes/tvshows:/data/tvshows \
-v /dockervolumes/movies:/data/movies \
-v /dockervolumes/transcode:/transcode \
linuxserver/plex%%


Revision [3117]

Edited on 2018-05-01 16:43:32 by ZorrUno
Additions:
%%sudo docker run -d --name="home-assistant" -v /dockervolumes/homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant%%
%%version: '2'
network_mode: host
- '/dockervolumes/homeassistant:/config'
Deletions:
%%sudo docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant%%
- '/homeassistant:/config'


Revision [3116]

Edited on 2018-04-29 14:41:13 by ZorrUno
Additions:
mosquitto:
- '1883:1883'
container_name: mosquitto
image: ansi/mosquitto%%


Revision [3115]

Edited on 2018-04-29 14:37:36 by ZorrUno
Additions:
%%docker run -p 1883:1883 --name mosquitto -d ansi/mosquitto%%


Revision [3114]

Edited on 2018-04-29 14:16:04 by ZorrUno
Additions:
(not yet working successfully)


Revision [3113]

Edited on 2018-04-29 14:15:19 by ZorrUno
Additions:
===Home Assistant===
docker-compose (x86)
===Node Red===
%%docker run -it -p 1880:1880 --name mynodered nodered/node-red-docker%%
node-red-docker:
ports:
- '1880:1880'
container_name: mynodered
image: nodered/node-red-docker
===Mopidy===
Deletions:
**Home Assistant**


Revision [3112]

Edited on 2018-04-29 14:11:28 by ZorrUno
Additions:
docker-compose
**Convert docker run commands to docker-compose files**
https://composerize.com/
Deletions:
**docker-compose**


Revision [3111]

Edited on 2018-04-29 14:10:20 by ZorrUno
Additions:
=====Docker Notes=====
===Mosquitto===
Deletions:
**Mosquitto**


Revision [3110]

Edited on 2018-04-29 14:09:52 by ZorrUno
Additions:
**docker-compose**
%%version: 3
services:
home-assistant:
container_name: home-assistant
volumes:
- '/homeassistant:/config'
- '/etc/localtime:/etc/localtime:ro'
restart: unless-stopped
image: homeassistant/home-assistant
%%


Revision [3109]

Edited on 2018-04-29 14:08:47 by ZorrUno
Additions:
**full inspection as root**
%%docker inspect -f "{{.Path}} {{.Args}} ({{.Id}})" $(docker ps -a -q)%%


Revision [3014]

Edited on 2017-11-27 18:58:40 by ZorrUno
Additions:
What exists: %%sudo docker ps -a
Delete an Image:
$ docker inspect --format="{{.Id}}" evil_swartz
756535dc6e9ab9b560f84c85063f55952273a23192641fc2756aa9721d9d1000%%
Deletions:
What exists: %%sudo docker ps -a%%


Revision [2819]

Edited on 2017-08-08 21:18:48 by ZorrUno
Additions:
https://hub.docker.com/r/whhoesj/mopidy/


Revision [2818]

Edited on 2017-08-08 20:06:07 by ZorrUno
Additions:
%%docker run -d \
-e "PULSE_SERVER=tcp:$(hostname -i):4713" \
-e "PULSE_COOKIE_DATA=$(pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*')" \
-v "$PWD/media:/var/lib/mopidy/media:ro" \
-v "$PWD/local:/var/lib/mopidy/local" \
-p 6600:6600 -p 6680:6680 \
wernight/mopidy \
mopidy \
-o spotify/username=USERNAME -o spotify/password=PASSWORD%%


Revision [2817]

Edited on 2017-08-08 20:04:21 by ZorrUno
Additions:
%%docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1%%
%%sudo docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant%%
Deletions:
%%docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1
sudo docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant
%%


Revision [2816]

Edited on 2017-08-08 20:03:48 by ZorrUno
Additions:
%%docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1
%%
Deletions:
%%docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1%%


Revision [2815]

Edited on 2017-08-08 20:03:29 by ZorrUno
Additions:
Raspberry Pi
x86
sudo docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant


Revision [2789]

Edited on 2017-07-20 21:14:55 by ZorrUno
Additions:
--
CategoryMicrocontrol
CategoryHomeAutomation
CategoryRaspberryPi
CategoryLinux


Revision [2739]

Edited on 2017-06-14 21:49:57 by ZorrUno
Additions:
**Get pi user docker perms**
Deletions:
**Get docker perms**


Revision [2738]

Edited on 2017-06-14 21:48:36 by ZorrUno
Additions:
%%sudo usermod -aG docker pi %%
%%docker run -d -p 1883:1883 -p 9001:9001 pascaldevink/rpi-mosquitto %%
%%docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1%%
%%docker build -t rawdlite/mopidy . %%
%%docker run --device /dev/snd -p 6680:6680 --restart=unless-stopped --detach=true -t shaunmulligan/rpi3-jessie-mopidy %%
Deletions:
sudo usermod -aG docker pi
docker run -d -p 1883:1883 -p 9001:9001 pascaldevink/rpi-mosquitto
sudo docker run -d --name="home-assistant" -v /homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host blakeblackshear/rpi-home-assistant:0.36.1
sudo docker run home-assistant
docker build -t rawdlite/mopidy .
docker run --device /dev/snd -p 6680:6680 --restart=unless-stopped --detach=true -t shaunmulligan/rpi3-jessie-mopidy


Revision [2737]

Edited on 2017-06-14 21:45:39 by ZorrUno
Additions:
%%docker run -d --name mopidy --net host --device /dev/snd \
-v /data/music:/data/music rawdlite/mopidy %%
Deletions:
docker run -d --name mopidy --net host --device /dev/snd \
-v /data/music:/data/music rawdlite/mopidy


Revision [2736]

Edited on 2017-06-14 21:44:11 by ZorrUno
Additions:
docker build -t rawdlite/mopidy .
docker run -d --name mopidy --net host --device /dev/snd \
-v ~/.config/mopidy/mopidy.conf:/root/.config/mopidy/mopidy.conf \
-v /data/music:/data/music rawdlite/mopidy


Revision [2735]

Edited on 2017-06-14 21:27:41 by ZorrUno
Additions:
**Commands**
Deletions:
%%Commands**


Revision [2734]

The oldest known version of this page was created on 2017-06-14 21:27:03 by ZorrUno