Docker : Error pulling image (latest) from docker.io

I pushed a docker image from an older dev machine, and now I can’t push or pull to that repo.

The server errors with

  • How to deploy multiple Services on Spring Boot? [closed]
  • How to assign a name to running container in docker?
  • How to access the VM created by docker's HyperKit?
  • Docker Cluster loses leader status after reboot
  • What does Kubernetes actually do? [closed]
  • From local development to dockerized microservices
  • Invalid parent ID.
    

    And my dev box errors with

    Error pulling image (latest) from docker.io/repo/appname,
    Driver aufs failed to create image rootfs {ID}: 
    open /mnt/sda1/var/lib/docker/aufs/layers/{ID}: no such file or directory
    

    I’m running OSX 10.11.4 with docker-machine 0.5.4 on both setups.

    I’ve tried removing dangling images, stopped images, and I destroyed and rebuilt the docker-machine env.

    Any idea whats happened?

    m

  • Sharing a configuration file to multiple docker containers
  • Installing an uptodate version of Mono on Ubuntu using docker
  • GitLab Ci with docker runner - Multiple Stages
  • Unable to run gcloud docker push from google compute engine instance
  • Docker volume option create folder as “root” user
  • Docker-compose depend_on
  • One Solution collect form web for “Docker : Error pulling image (latest) from docker.io”

    No idea what the issue was in the end, but removing all images, then rebuilding and re pushing fixed it.

    docker stop $(docker ps -a -q)
    docker rm $(docker ps -a -q)
    docker rmi $(docker images -a -q)
    
    docker build -t repo/app .
    docker push repo/app
    

    And after that I could pull it again on the server and other machines.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.