Tag Archive for docker

Run MiniDLNA from docker

For reusage:

docker run -d \
-p 8200:8200 \
--restart=on-failure:3 \
--name minidlna \
-v /opt/minidlna/cache:/minidlna/cache \
-v /mnt/data/series:/media/series \
-v /mnt/data/movies:/media/movies \
-v /mnt/data/child:/media/child \
-v /mnt/data/torrent:/media/torrent \
-v /mnt/data/music:/media/music \
-v /mnt/data/pics:/media/pictures \
-e MINIDLNA_MEDIA_DIR_1=V,/media/series \
-e MINIDLNA_MEDIA_DIR_2=V,/media/movies \
-e MINIDLNA_MEDIA_DIR_3=V,/media/child \
-e MINIDLNA_MEDIA_DIR_3=V,/media/torrent \
-e MINIDLNA_MEDIA_DIR_3=A,/media/music \
-e MINIDLNA_MEDIA_DIR_3=PV,/media/pictures \

Docker img ipv6 problem

On my host the ipv6 is disabled. I had to start a docker image, which would like to use ipv6.

This conflict provides this error message:

Error response from daemon: driver failed programming external connectivity on endpoint CONTAINER_NAME(HASH): Error starting userland proxy: listen tcp6 [::]:PORT_NUMBER: socket: address family not supported by protocol

The resolution, to define the IP address in port mapping (for DHCP, with global definition):

docker run -p

Or in docker-compose.yml like this:

version: "3.9"
    image: IMG
    container_name: CONTAINER_NAME
      - ""

Hassio with supervisor on Gentoo by docker

Supervisor, first start

Docker pull:

docker pull homeassistant/qemux86-64-homeassistant:landingpage

Than, start it:

docker run -d --name hassio_supervisor \
--privileged \
--security-opt apparmor:unconfined \
--security-opt seccomp=unconfined \
-v /run/docker.sock:/run/docker.sock \
-v /run/dbus:/run/dbus \
-v "/opt/hassio/data":/data \
-e SUPERVISOR_SHARE="/opt/hassio/data" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemux86-64-homeassistant" \

Ubuntu/Debian (linux) WSL and Docker

If you would like to use docker on windows Ubuntu/Debain WSL you have to modify the .bashrc file in your home directory.

vi ~/.bashrc

and add this line to the end:

export DOCKER_HOST=tcp://localhost:2375

reload the modifications:

source ~/.bashrc

That’s all folks 😀

Debian 8 Docker daemon default start params remove

Somebody at debian’s thought, it will be very usefull, if adds the

-H fd://

param to the docker daemon default

To remove it, and use the /etc/docker/daemon.json do this below:

vi /lib/systemd/system/docker.service

mod this line:

ExecStart=/usr/bin/dockerd -H fd://



than reload the daemon config

systemctl daemon-reload

and reload the service

/etc/init.d/docker restart