![Cloudera Quick Start Docker 컨테이너에서 호스트 이름을 확인할 수 없습니다.](https://linux55.com/image/171205/Cloudera%20Quick%20Start%20Docker%20%EC%BB%A8%ED%85%8C%EC%9D%B4%EB%84%88%EC%97%90%EC%84%9C%20%ED%98%B8%EC%8A%A4%ED%8A%B8%20%EC%9D%B4%EB%A6%84%EC%9D%84%20%ED%99%95%EC%9D%B8%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
~에 의해
docker run --hostname=quickstart.cloudera --privileged=true -t -i -d --name quickstart0 -v /scratch/quickstart.cloudera/data:/data --publish-all=true -p 8888:8888 -p 7180:7180 cloudera/quickstart /usr/bin/docker-quickstart
문제 없이 8.8.8.8에 ping을 보낼 수 있지만:
[root@quickstart /]# ping www.google.com
ping: unknown host www.google.com
구성 파일 구문 분석
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 75.75.75.75
nameserver 75.75.76.76
# Too many DNS servers configured, the following entries may be ignored.
search XXXXX.comcast.net
- 8.8.8.8/8.8.4.4를 교체해 보았지만 성공하지 못했습니다.
- 컨테이너 외부의 ping은 정상적으로 작동합니다.
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.39 (downgraded from 1.40)
Go version: go1.12.17
Git commit: afacb8b
Built: Wed Mar 11 01:27:04 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.1
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:06:30 2019
OS/Arch: linux/amd64
Experimental: false
답변1
~에 따르면이것현재 다음 외에는 우아한 솔루션이 없습니다.
sudo systemctl disable firewalld