I am building a security container which is supposed to pull images from my local registry and scan them for vulnerabilities. However, i don’t know how to access the local docker-desktop registry. I don’t know the hostname (probably localhost) and port number. Also, what type of registry is it? Docker V1? V2?
Is there any documentation around this?
What do you mean by “Docker Desktop local registry”? I don’t think Docker Desktop contains a registry, but as any Docker engine, Docker Desktop can build images, tag them and store them on your machine. In case of Docker Desktop, you can’t see the images on your local filesystem, because they are inside the virtual machine, but you can use them and run containers using those images.