我试图在我的"Windows 10家庭v.1803“中安装码头。我成功地安装了码头工具箱并启动了"Docker终端“。
然而,在输入docker pull hello-word时,我得到了以下错误:
Using default tag: latest
Error response from daemon: pull access denied for hello-word, repository does not exist or may require 'docker login'我试图再次登录并启动命令,但错误保持不变。
当我输入docker version时,我得到了以下内容:
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:52:55 2018
OS/Arch: linux/amd64
Experimental: false当我输入docker info时,我得到的是:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.14.79-boot2docker
Operating System: Boot2Docker 18.09.0 (TCL 8.2.1)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 989.4MiB
Name: default
ID: I5OA:ASSA:S3VN:NELD:R5DN:UTLN:WXCG:PAN7:PDAW:AS5G:WM4B:IKDF
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: nolwenn
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false由于我的窗口中已经安装了一个ubuntu,所以我还试图在那里安装docker (几乎可以),但是得到了以下错误:
$ sudo docker pull hello-word
Using default tag: latest
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?对于我如何解决这个问题(除了“安装Windows /Linux”),有什么想法吗?
我已经查过这里了,但什么也找不到。
发布于 2018-12-07 10:20:20
我不确定这是一个真正的问题还是一个错误,但您使用的图像是不正确的。hello-word看起来不像一个公共的码头枢纽形象。
用hello-world而不是hello-word获取它-
$ docker pull hello-world
https://stackoverflow.com/questions/53666064
复制相似问题