Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Docker by (12.9k points)

Could someone tell me what is a Docker Layer?

1 Answer

0 votes
by (119k points)

A Docker image is a read-only template that houses a set of instructions which are required for creating a container that you could use as an application package containing pre-configured environments that enabled to run on Docker platforms.

And each Docker image consists of numerous layers. These layers contain a set of different instructions in your Docker File and are called Docker layer.

There are two types of layers, layer, and intermediate layers. Commands like RUN, COPY, ADD create a layer, whereas other instructions create intermediate layers, that won’t affect the size of a Docker Image.

Are you aspiring to become a Docker expert? Then have a look at Intellipaat’s Docker training course which offers you with training course and guided projects for enhancing practical exposure.

Do watch our YouTube video on Docker from our experts to help you gain a better understanding.

Related questions

0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)
0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)
0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)
0 votes
1 answer
asked Feb 11, 2021 in Docker by Amyra (12.9k points)
0 votes
1 answer
asked Dec 11, 2020 in Docker by Amyra (12.9k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...