In aws elasticbean talk.
When we setup extensions in .ebextensions
i wonder what is difference between commands and container_commands
As an addition to @Tiro and @t10508hn answer I just want to clarify that both commands and container_commands are executed on the host machine.
To execute commands within the docker container use the Dockerfile.
This was a point of confusion when I was had to execute a couple of commands with leader_only and assumed that container_commands were actually executed within the container.