Welcome to the Docker-Series! 🚀
This repo provides Docker setups for popular programming languages. Whether you're a developer or a DevOps engineer, you’ll find Dockerfiles here to easily containerize your apps.
These are like recipes for creating Docker images. Each Dockerfile is tailored for a specific programming language. Here’s what you can find:
- Python: For Python apps. Sets up Python and dependencies.
- Node.js: For Node.js apps. Uses npm or Yarn for packages.
- Java: For Java apps. Handles JAR files.
- Ruby: For Ruby apps. Manages dependencies with Bundler.
- Go: For Go apps. Builds your Go binaries.
- PHP: For PHP apps. Uses Apache to serve your code.
- C# (.NET Core): For .NET Core apps. Handles both build and runtime.
- React: For React apps. Builds with Yarn and serves with Nginx.
- Rust: For Rust apps. Uses multi-stage builds for efficiency.
-
Clone the Repo:
git clone https://github.com/abisecops/Docker-Series.git && cd Docker-Series
-
Go to the Directory for Your Language:
Each language has its own folder with the Dockerfile and Docker Compose file. Navigate to the one you need.
-
Build the Docker Image: You can build the Docker image with:
docker build -t your-image-name .
This command builds the Docker image and starts the container.
-
Run the Container:
Start your container with:
docker run -p 8080:8080 your-image-name
-
Stop and Remove Container:
When you're done, stop and remove everything with:
- Stop
docker stop container-id
- Remove
docker rm container-id
Got improvements or Docker setups for other languages? Feel free to contribute by opening a pull request!
This project is licensed under the MIT License. Check out the LICENSE file for more details.
Have questions or need help? Open an issue here or reach out to email.
Happy containerizing! 🌟