How to get the image name of a docker container from inside the container
This type of information/metadata is not passed into the container by default. There are 2 reasons for this. if every metadata about the container was passed into the container, it could potentially pose a security risk when someone breaks into it container shouldn’t need this kind of information anyway The reason why you can get … Read more