Docker Community Forums

Share and learn in the Docker community.

How to add DESCRIPTION in docker images via Dockerfile?


(Larry Cai) #1

It looks in docker commit command, we have --message tag to add description for the docker images, it can be useful to let other know this.

Most docker images are generated by Dockerfile, how I can add this information in Dockerfile based image ?

I can’t see it in https://docs.docker.com/reference/builder also no clear conclusion in https://github.com/docker/docker/pull/6667 though it is closed.

rgs/larry