Closed maykino closed 5 years ago
Run command inside container with $ docker-compose exec [container-name] [cmd]
Example $ docker-compose exec php bin/console d:d:c
Get shell $ docker-compose exec php sh
If you want to run the complex command you can use $ docker-compose exec [container] sh -c "awk ..."
What is the best practice for running symfony commands for this setup? Also, what is the best way to get shell of the web server container?