我在我的公司网络上建立码头形象有问题。我刚刚开始使用Docker,所以我有下面的Dockerfile,用于hello-world类型的应用程序:
# DOCKER-VERSION 0.3.4
FROM centos:6.4
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm
# Bundle ap
我在Java5中成功地使用了GSSAPI。在Java6和7中,InitialLdapContext调用失败,并显示以下堆栈跟踪:
>>>KRBError:
sTime is Fri Jun 14 13:40:01 CEST 2013 1371210001000
suSec is 948732
error code is 7
error Message is Server not found in Kerberos database
realm is DE.XXX.NET
sname is ldap/yyy.de.xx
我们有一个批处理作业,每天运行在AWS中的EC2实例上。EC2实例存在于VPC中。批处理作业使用java在公共服务器上进行一系列REST调用。大多数情况下,批处理作业运行时没有问题。然而,有些日子,DNS解析中出现了一些问题。作业将愉快地运行,然后突然DNS解析失败,其余API调用error,异常如下:
java.net.UnknownHostException: some.publicserver.com: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[n
每当我在Windows 7上运行cygwin内部的ssh时,就会得到错误:
ssh: Could not resolve hostname ... Non-recoverable failure in name resolution
lost connection
如果我在错误发生后立即尝试相同的命令,它可以正常工作。如果我等了太久再试一次,我就会再次犯错误。
这种情况在XP上不会发生。你知道为什么ssh总是第一次失败吗?
在OCP 4.3上,从仪表板“复制登录命令”生成的oc登录命令
oc login --token=asdfghjk... --server=https://api.xxx.com:6443
在以下方面失败:
error: dial tcp: lookup api.xxx.com on 192.168.0.1:53: no such host - verify you have provided the correct host and port and that the server is currently running.
当我将集群的公共ip替换为主机名时,它可以工作。
oc login