mperezi
2/12/2019 - 8:01 AM

Find out the CMD and ENTRYPOINT of an image

$ docker image inspect -f 'CMD {{.Config.Cmd}}, ENTRYPOINT {{.Config.Entrypoint}}' postgres:9.4
CMD [postgres], ENTRYPOINT [docker-entrypoint.sh]