Skip to Content
Implementing Modern DevOps
book

Implementing Modern DevOps

by David Gonzalez, Danny Varghese
October 2017
Intermediate to advanced
326 pages
7h 20m
English
Packt Publishing
Content preview from Implementing Modern DevOps

Dockerfile reference

As you can see in the previous section, Dockerfiles are very simple, and if you have any queries, the official documentation for the Dockerfile language is very comprehensive.

In general, the language used for creating Dockerfiles is very similar to the batch processing language of windows (.bat files) from a few years ago.

Let's look at the most used commands:

FROM

This instruction is used to specify the base image. Every single Docker image is created starting from a base image (you can create base images from a running Linux distribution).

COPY

As you can guess, COPY allows you to copy files and folders inside the image. For example, we could copy our application, a war file, or any other artifact that will ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical DevOps

Practical DevOps

joakim verona
Hands-On Security in DevOps

Hands-On Security in DevOps

Tony Hsiang-Chih Hsu
SRE with Java Microservices

SRE with Java Microservices

Jonathan Schneider

Publisher Resources

ISBN: 9781786466877Supplemental Content