Troubleshooting Docker Containers Killed by System
In the context of a local/development Docker desktop environment, the Docker containers of the application do not start properly or are killed by the Docker system. Messages like "JBossAS process received KILL signal", when starting the keycloak service, can be seen in the logs of the application containers.
This problem is related to a lack of memory in the Docker desktop configuration: the different Docker containers do not have enough space to be allocated causing either the application to start very slowly or for some services to be killed by Docker during their startup.
To correct this problem, go to the Docker Desktop Settings and increase the allocation of Memory to a valid value. We advise to allocate at least 6 GB of RAM to simple applications.