Tag: 刷新

docker链将被iptables重置

其实我有我的Docker服务的一些问题。 几分钟后,下面的规则就会被iptables删除。 iptables之后: Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-ssh tcp — anywhere anywhere multiport dports ssh Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-ssh (1 references) target prot opt source destination DROP all — xxxx anywhere RETURN all — […]

为什么这个刷新标记请求auth.docker.io返回一个404?

我正在尝试使用这里logging的API: https : //docker.github.io/registry/spec/auth/oauth/ 当我按照文档中的描述发布到服务时,它总是返回一个404。 我已经尝试使用我自己的帐户,也使用文档中的确切查询。 这里是一个例子: [prompt]$ curl -v \ -H 'Content-Type: application/x-www-form-urlencoded' \ -X POST -d 'grant_type=password&username=johndoe&password=A3ddj3w&service=hub.docker.io&client_id=dockerengine&access_type=offline' \ https://auth.docker.io/token * Trying 52.5.234.85… * Connected to auth.docker.io (52.5.234.85) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 * Server certificate: *.docker.io * Server certificate: RapidSSL SHA256 CA – G3 * Server certificate: GeoTrust Global […]