How to Install libnss-mymachines in Ubuntu 18.04



Install libnss-mymachines by entering the following commands in the terminal:

sudo apt update
sudo apt install libnss-mymachines

Description:

nss module to resolve hostnames for local container instances

nss-mymachines is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution for local containers that are registered with systemd-machined.service(8). The container names are resolved to IP addresses of the specific container, ordered by their scope. . Installing this package automatically adds mymachines to /etc/nsswitch.conf.

Homepage: https://www.freedesktop.org/wiki/Software/systemd

Version: 237-3ubuntu10

Section: universe/admin