我正在将Ubuntu 19.04与CNTLM和公司代理一起使用。我收到错误消息“获取https://registry-1.docker.io/v2/:AuthorizedOnly” 我已经检查了Docker代理设置,一切正常(Docker信息),但是我无法执行docker pull
Docker信息:
Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 18.09.7 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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662) Security Options: apparmor seccomp Profile: default Kernel Version: 5.0.0-31-generic Operating System: Ubuntu 19.04 OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 7.674GiB Name: gcplos ID: XXP:XX2X:XXVV4:CXXU:JXXY:43XX:RAXX:72XB:2XXQ:T5XX:YXXS:TWXXX5 Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false HTTP Proxy: http://10.1.1.40:8080 HTTPS Proxy: http://10.1.1.40:8080 Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
命令输出:
docker pull ubuntu Using default tag: latest docker: Error response from daemon: Get https://registry-1.docker.io/v2/: AuthorizedOnly. See 'docker run --help'.