title: Can't push docker image to internal Artifactory
body: <p>Having an Artifactory server with a local docker repository configure.
  I want to push images to that repo.</p>
  
  <p>I have Windows 2016 and installed Docker:</p>
  
  <blockquote>
    <p>Docker version 1.12.2-cs2-ws-beta, build 050b611</p>
  </blockquote>
  
  <p>I have creating the daemon.json configuration file in order to set the daemon to work with insecure registries and and edit the json as:</p>
  
  <blockquote>
    <p>{"insecure-registries": ["art:8080"]}</p>
  </blockquote>
  
  <p>I tag my image with:</p>
  
  <blockquote>
    <p>docker tag java art:8080/java</p>
  </blockquote>
  
  <p>then im trying to push it to Artifactory with:</p>
  
  <blockquote>
    <p>docker push art:8080/java</p>
  </blockquote>
  
  <p>when executing this command im getting:</p>
  
  <blockquote>
    <p>The push refers to a repository
    [art:8080/java]</p>
    
    <p>932b647616fa: Preparing</p>
    
    <p>de57d9086f9a: Skipped foreign layer</p>
    
    <p>f358be10862c: Skipped foreign layer</p>
    
    <p>error parsing HTTP 404 response body: unexpected end of JSON input: ""</p>
  </blockquote>
  
  <p>What does that menas and how can I push the image to my artifactory local repo in an insecure way?</p>