Docker and CI/CD · Senior · Question 59 of 75

Why avoid Docker-in-Docker with --privileged for building images in CI?

Explanation

Rootless BuildKit, kaniko-style builders or remote builders produce images without giving jobs full host access.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 59

Test yourself

Take the Docker and CI/CD · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz