Docker important commands to run laravel application with docker

Created at 15-Mar-2024 , By samar

sudo ufw allow 3307/tcp

sudo ufw status

sudo ufw restart

sudo ufw disable

./vendor/bin/sail up

docker logs e0e3494116274jjkje2c68f975c72d4906e2eh0e3f404c5e0ad115e5a155aa163bcb

docker-compose restart

docker-compose up -d

docker-compose down

docker run --name mysql-server -p 3307:3306 -e MYSQL_ROOT_PASSWORD=password -d mysql:latest

docker rm e0983f44kyh8cb4

docker stop e0983jkjjf448cb4

docker restart e0983f4jjjk48cb4

docker ps

docker inspect 1f430jkkja38b3c9

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.