I came across the following Dockerfile.
FROM registry
# I am not clear what this is.
# I do not understand the following comment either.
# tree is helpful to peruse filesystem storage of images
RUN apk add --no-cache tree
For apk add
I got the following three so links.
- How can I install Docker inside an alpine container?
- Running "apk add" command in a docker container with arguments [closed]
- rhat8 equivalent of "apk add --no-cache gcc musl-dev linux-headers"
This answer from the first link says "running docker inside alpine"
Can somebody enlighten me please. Why do we want to run docker inside a docker container?
What is this apk add
?