Docker and CI/CD · Middle · Question 30 of 75

What does exec "$@" do at the end of an entrypoint script?

Explanation

Entrypoint scripts often prepare config, then hand over. Without exec, the shell stays PID 1 and signals may never reach the app.

Further reading

Problem with a question

Docker and CI/CD · Middle · question 30

Test yourself

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

Take this quiz