Hi, I was creating a simple node js project with jason and docker.
While giving it a simple naming, I am getting this error.
Build was successful.
F:\dockerwork>docker build -t aashish/dockerwork .
F:\dockerwork>docker run aashish .
Unable to find image ‘aashish:latest’ locally
docker: Error response from daemon: pull access denied for aashish, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘docker run --help’.
Please share a link to the tutorial you are trying to follow. Either the tutorial is incorrect or you are not following it correctly. If the tutorial is incorrect, this might help others having the same problem, to find a solution for it.
If you build an image with docker build -t aashish/dockerwork ., and want to run a container based on it, you need to execute docker run aashish/dockerwork.