我尝试从 Ubuntu 终端登录到 docker hub(凭证对于 docker hub 是正确的,我可以从浏览器登录到 docker)
码头工人登录
用户名:test-my-username-here
密码:test-my-password-here
电子邮件:test-my-email-here
它给出下面的响应,这意味着找不到页面的图像
我也重新启动了docker和计算机,仍然无法登录。没有登录,我无法将我的图像推送到 docker hub
Error response from daemon: Unexpected status code [404] : <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>404 : Docker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
line-height: 1.2;
margin: 0;
}
html {
color: #71859d;
display: table;
height: 100%;
text-align: center;
width: 100%;
}
body {
background: #fff;
display: table-cell;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
margin: 2em auto;
vertical-align: middle;
}
a {
color: #22b8eb;
text-decoration: none;
}
@media only screen and (max-width: 280px) {
body,
p {
width: 95%;
}
}
#message {
font-size: 21px;
text-align: center;
animation: fadein 2s;
-moz-animation: fadein 2s;
/* Firefox */
-webkit-animation: fadein 2s;
/* Safari and Chrome */
-o-animation: fadein 2s;
/* Opera */
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-moz-keyframes fadein {
/* Firefox */
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadein {
/* Safari and Chrome */
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-o-keyframes fadein {
/* Opera */
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<div id="message">
<img src=" data:image/png;base64, **Base-64-image-code-here-of-page-not-found** "/>
</div>
Try visiting our <a href="http://docker.com" target="_blank">home page</a><br>
If you think you have arrived here by mistake, please contact us <a href="mailto:support@docker.com">support@docker.com</a>.
</body>
</html>```
[![This image generated as base64 image output in terminal after login][1]][1]
[1]: https://i.stack.imgur.com/A5bfo.png