Quickly find the docker image startup command

Sudhakar Rayavaram
Jul 13, 2019 · 1 min read

If you quickly want to see what command any docker image actually runs when you start it, there is an easy way

docker history --no-trunc <image-name>

This will list all the contents of its Dockerfile along with layers information

TarkaLabs TIL

Tarka Labs is a team of passionate hackers, designers and product managers. We believe in experimental methods to identify the best solutions to problems instead of working on technology du jour. (https://tarkalabs.com/)

Sudhakar Rayavaram

Written by

Software plumber, health and wellness enthusiast, digital artist, data visualization lover & …

TarkaLabs TIL

Tarka Labs is a team of passionate hackers, designers and product managers. We believe in experimental methods to identify the best solutions to problems instead of working on technology du jour. (https://tarkalabs.com/)

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade