Understanding Dockerfile

From nginx
RUN apt-get -y update
RUN apt-get install -y curl
ENTRYPOINT ["ls","-ltrh","|","grep"]
CMD ["filename"]
# ls -ltrh | grep "filename"

--

--

--

Works at VMware

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to use Tinder for desktop (PC and Mac) and mobile web browsers?

Merge-Combine Google Sheets

Traps you should avoid when migrating from GTM to Zaraz

(chuckles) I’m in danger meme

LGMSOC’21 Experience

Klaviyo Email Automations Tutorial for Beginners

The Benefits of a Progressive Web App

How to not use git!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Puneet Khanna

Puneet Khanna

Works at VMware

More from Medium

VSCode create Big Data Maven/Java Project on WSL2 Ubuntu on Windows

Setup Kafka for Windows in 2 Mins

Self Hosted Docker Agents in Azure

Starting With Git and GitHub