Skip to main content

Posts

Showing posts with the label docker

Docker Learning Notes (Laravel + XAMPP MySQL)

Docker Learning Notes (Laravel + XAMPP MySQL) Beginner Guide (తెలుగు) 1. Docker అంటే ఏమిటి? సింపుల్‌గా చెప్పాలంటే, Docker అంటే మన application కి కావాల్సిన environment ని ఒక box (Container) లో పెట్టి run చేయడం. ఉదాహరణ: మన Laravel Project కి కావాల్సింది: PHP 8.3 Composer Extensions ఇవన్నీ Windows లో install చేయకుండా Docker Container లో install చేసుకున్నాం. అందువల్ల Windows లో PHP లేకపోయినా Laravel run అవుతుంది. 2. మన Project Architecture Windows PC │ ┌────────────┴────────────┐ │ │ │ XAMPP │ MySQL │ Docker Desktop │ ▼ +---------------------------+ | PHP 8.3 | | Composer | | Laravel Extensions | +---------------------------+ │ ▼ Laravel Project 3. ముఖ్యమైన Docker Concepts Dockerfile Dockerfile అంటే Recipe. ఉదాహరణ: మనం Cake చేయాలంటే Recipe ఉంటుంది. అలాగే Docker Image తయారు చే...

Docker Setup

 I'm using windows, so download docker desktop for windows After successful installation if you notice below error then run CMD in administrator and paste this CMD and run it. and now click on restart, That's it all set to run docker