πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

List out all INSTRUCTION statement of dockerfile and give one line explanation.

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

FROM : Set base image

MAINTAINER : Author of docker file

RUN : Run the commands in new layer

VAR : Used to set variable, we can re-use these variables later

EXPOSE : specify port of the container

COPY : Copy files to the container

ADD : copy files into container and extract it

USER : Set the runtime user

ENV : set environment variable

CMD : to set PID1

ENTRY POINT : to set PID1

WORK DIR : set the working directory