title: Docker: " login attempt to https://hub.docker.com/v2/ failed with status: 404 Not Found" in Fedora 25
body: <p>I have Docker CE installed in Fedora 25.</p>
  
  <p>When I try to login into docker hub using below command I am getting error.</p>
  
  <pre><code>$ docker login --username xxx --password yyy https://hub.docker.com/
  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
  Error response from daemon: login attempt to 
  https://hub.docker.com/v2/ failed with status: 404 Not Found
  
  $ docker --version
   Docker version 17.07.0-ce, build 8784753
  
  $ docker-machine --version
   docker-machine version 0.12.2, build 9371605
  </code></pre>
  
  <p>Notice that the same command works fine in Ubuntu 16.04
  Only difference I can think of is ubuntu have docker and fedora have docker-ce.</p>
  
  <p>Not sure why I get this error only on Fedora. I get this this error when Fedora is installed on virtual box VM.</p>