[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798483: ITP: libnss-docker -- nss module for finding Docker containers



Package: wnpp
Owner: Piotr Roszatycki <dexter@debian.org>
Severity: wishlist

* Package name    : libnss-docker
  Version         : 0.0.20150807.3cdc55d-1
  Upstream Author : Danielle Madeley <danielle@madeley.id.au>
* URL             : https://github.com/danni/docker-nss
* License         : GPL
  Programming Lang: C
  Description     : nss module for finding Docker containers

This package contains a plugin for the Name Service Switch, providing host
name resolution for Docker containers.

Edit `/etc/nsswitch.conf`:

    hosts:      files dns mdns4_minimal myhostname docker

Then

$ getent hosts container.docker

where container is an ID of Docker container

--
 .''`.    Piotr Roszatycki
: :' :    mailto:Piotr.Roszatycki@gmail.com
`. `'     mailto:dexter@debian.org
  `-

Reply to: