Easier Access
Create ~/.bash_aliases file. Copy following to it;
alias dcomposer='docker-compose run --rm composer '
Edit ~/.bashrc file and add following line;
# Add bash aliases
if [ -f ~/.bash_aliases ]; then
source ~/.bash_aliases
fi
Install Dependencies
dphp composer install