You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apayetRun edited this page Jul 17, 2023
·
1 revision
Why should I avoid Entryscript in my docker compose
I see many people using entryscript to configure the installation of some docker container.
Can do the job, but when error occurs, it is difficult to handle properly. Or this solution needing tricks for solving the problem.
You decide to separate services, and, thats a good Idea. If you choose to do it on build: each step of you build is segmented into a new container.
Divide and conquer paradigm.
But if you doing an entrypoint.sh that do a lot of statement you loose this advantage, that can be qualified as an anti-pattern.
What happen when do configuration on build (video demo)