A way to execute somethings inside a docker-compose.
Command: docker-compose exec [image-name] [command]
Example: run "ls" command on "home" folder inside a "web" image which is running
Code:
docker-compose exec web ls
A way to execute somethings inside a docker-compose
A way to execute somethings inside a docker-compose.
Command: docker-compose exec [image-name] [command]
Example: run "ls" command on "home" folder inside a "web" image which is running
Code:
docker-compose exec web ls