Get startedGet started for free

How many layers?

How many layers does the nginx:1.27-alpine Docker image have?

Use the jq command jq '.[0] | .RootFS.Layers | length' AND the appropriate docker command to determine the answer. The nginx:1.27-alpine image has already been pulled to the local cache for you.

This exercise is part of the course

Intermediate Docker

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise