Where can I find the sha256 code of a docker image?

Latest answer Edit suggested by OhJeez in the comments. docker inspect –format=”{{index .RepoDigests 0}}” $IMAGE Original answer I believe you can also get this using docker inspect –format=”{{.RepoDigests}}” $IMAGE Works only in Docker 1.9 and if the image was originally pulled by the digest. Details are on the docker issue tracker.

How to change the default docker registry from docker.io to my private registry?

UPDATE: Following your comment, it is not currently possible to change the default registry, see this issue for more info. You should be able to do this, substituting the host and port to your own: docker pull localhost:5000/registry-demo If the server is remote/has auth you may need to log into the server with: docker login … Read more

How to get a list of images on docker registry v2

For the latest (as of 2015-07-31) version of Registry V2, you can get this image from DockerHub: docker pull distribution/registry:master List all repositories (effectively images): curl -X GET https://myregistry:5000/v2/_catalog > {“repositories”:[“redis”,”ubuntu”]} List all tags for a repository: curl -X GET https://myregistry:5000/v2/ubuntu/tags/list > {“name”:”ubuntu”,”tags”:[“14.04”]} If the registry needs authentication you have to specify username and password … Read more

How to share my Docker-Image without using the Docker-Hub?

Docker images are stored as filesystem layers. Every command in the Dockerfile creates a layer. You can also create layers by using docker commit from the command line after making some changes (via docker run probably). These layers are stored by default under /var/lib/docker. While you could (theoretically) cherry pick files from there and install … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)