docker: structure needs cleaning

I’m getting this error now when trying to install an image

docker run -it ubuntu bash

  • Cannot connect Docker container to Weave network
  • Conditional fig configuration for dev needs
  • php app files permission after docker build
  • How does a remote server with docker images know when to pull a new image built with a CI tool?
  • docker python custom module not found
  • What is Docker Cloud local url?
  • Unable to find image 'ubuntu:latest' locally
    latest: Pulling from library/ubuntu
    952132ac251a: Pulling fs layer
    82659f8f1b76: Pulling fs layer
    c19118ca682d: Pulling fs layer
    8296858250fe: Pulling fs layer
    24e0251a0e2c: Pulling fs layer
    docker: open /mnt/sda1/var/lib/docker/tmp/GetImageBlob134909549: structure needs cleaning.
    See 'docker run --help'.

    I tried deleting the docker machine. Didn’t fix it. What do I do?

  • Best Practice to run commands after starting up a prebuilt docker image
  • Persistent mysql data from docker container
  • Docker on Windows 10 with Maven
  • docker-compose gives ERROR: Cannot locate specified Dockerfile: Dockerfile
  • docker network - ping
  • Google Container Registry: push reports “Repository does not exist”
  • One Solution collect form web for “docker: structure needs cleaning”

    Okay so I figured out why i was getting this error. In this case I did not have my docker machine set as active in docker-machine.

    $ eval $(docker-machine env default)
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.