У нас есть несколько оконных серверов, и мы обычно без проблем получаем к ним доступ. Тем не менее, я не могу правильно определить IP-адрес с помощью побед в контейнере Docker.
Вот Dockerfile:
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y winbind libnss-winbind
ADD nsswitch.conf /etc/nsswitch.conf
с файлом nsswitch.conf:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd:         compat
group:          compat
shadow:         compat
hosts:          files wins dns
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       nis
В контейнере, я не могу ping машину с его именем в победах, но nmblookup работ.
Я скучаю по чему-то, что заставляет работать winbind?
