Skip to content
Registers docker containers with avahi
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
avahi-docker.py
avahi-docker.service

README.md

avahi-docker

Registers running instances with avahi, for easy local usage of ran containers.

Requirements:

  • python3
  • python-docker (>= 1.0.0)
  • avahi-utils

Installation

mkdir -p ~/bin/
cp -a avahi-docker.py ~/bin/
# Optional systemd autostarting
mkdir -p ~/.config/systemd/user/
cp avahi-docker.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable avahi-docker
systemctl --user start avahi-docker

Now your local running docker containers are available at eg, http://hostname_my_container_name.local or http://my_container_name.myhostname.local

You can’t perform that action at this time.