docker hint: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for

When I use command :docker pull ubuntu:16.04

I got this error:

  • Class 'MongoId' not found in Laradock application
  • How to set the name of a Docker container using REST API
  • Dockerfile for cloning private git repo
  • Packer shell provisioning hangs when building Docker container
  • Allowing custom scp/sftp/rsync in sandbox shell
  • Mesos Slave Failed to create a containerizer
  • liudecai@my-ubuntu-server:~$ docker pull ubuntu:16.04
    Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for FG3K6C3A15800021, not registry-1.docker.io

    I use Ubuntu Server 16.04 ,docker version is 17.03.1-ce

    docker information:

    Client:

    Version: 17.03.1-ce

    API version: 1.27

    Go version: go1.7.5

    Git commit: c6d412e

    Built: Mon Mar 27 17:14:09 2017

    OS/Arch: linux/amd64

    Server:

    Version: 17.03.1-ce

    API version: 1.27 (minimum version 1.12)

    Go version: go1.7.5

    Git commit: c6d412e

    Built: Mon Mar 27 17:14:09 2017

    OS/Arch: linux/amd64

    Experimental: false

    How can I solve this problem?

  • Docker best practices for security [closed]
  • ASP.NET docker image exposed ports are closed
  • Docker compose, manage environments
  • Mount directory as volume in Docker on Windows 10
  • Setting volumes in docker-compose.yml file for windows 10 home
  • Docker public registry push fails: Repository does not exist
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.