Docker Community Forums

Share and learn in the Docker community.

Getting Image name from a container


(Abhijit Bhadra) #1

How can I get docker image id/name or tag from inside container


(Sam) #2

i do not believe there is any mechanism to do that. the runtime doesn’t know anything about being a container.