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.
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.
Random Code Snippet Queries: Laravel
- Non-static method App\Http\Helper::myFunction() should not be called statically
- How to decrypt laravel password
- Get laravel version
- Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement
- Submit form without CSRF token in Laravel
- Print last executed query in laravel
- Where to use whereNotNull eloquent in laravel
- Display success message in laravel
- Split an Eloquent Collection by half in Laravel
- How to get only time from created_at in laravel
- RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org
- How to pass link from controller to view in laravel on ajax call
- How to prevent host header attack in Laravel
- Sample configuration files to create laravel project with docker using wsl (window subsystem linux)
- Undefined property: stdClass::$title
- Array to string conversion laravel blade
- How to check email is valid or not in Laravel
- How to display a specific word from a string in laravel
- Laravel specific table Migration
- Datetime field in Laravel migration
- Conditional validation in laravel
- Count all and get 10 records after where condition in laravel
- How to Access Array in blade laravel
- Input file with max size validation in laravel
- Define variable and use in Laravel controller method