https://github.com/leewr9/container-lab
Container tech practice and deployment with examples.
https://github.com/leewr9/container-lab
container docker docker-compose k8s kubernetes
Last synced: 2 months ago
JSON representation
Container tech practice and deployment with examples.
- Host: GitHub
- URL: https://github.com/leewr9/container-lab
- Owner: leewr9
- License: mit
- Created: 2025-02-21T04:37:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-09T05:16:09.000Z (11 months ago)
- Last Synced: 2026-03-08T23:18:40.564Z (4 months ago)
- Topics: container, docker, docker-compose, k8s, kubernetes
- Language: Shell
- Homepage:
- Size: 47.9 KB
- Stars: 16
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Container Lab
This repository is dedicated to learning and practicing container technologies like Docker and Kubernetes. It includes Dockerfiles, Kubernetes manifests, and example configurations organized for easy experimentation and development.
## Feature
- Practice **Docker**, **Docker Compose**, and **Kubernetes (k8s)** setups
- Modular folders for isolated container and cluster environments
- Quick start with simple Docker Compose and kubectl commands
- Hands-on learning for building, deploying, and managing containers and clusters
## Installation
```bash
git clone https://github.com/leewr9/learning-docker.git
cd learning-docker
```
## Usage
Choose a service or environment you want to practice with:
```bash
cd
```
### Docker
```bash
# Build Docker image from Dockerfile in current folder
docker build -t .
# Run container in detached mode with a specific name
docker run -d --name
# Stop the running container
docker stop
# Remove the stopped container
docker rm
```
### Docker Compose
```bash
# Start services defined in docker-compose.yml in detached mode
docker-compose up -d
# Stop and remove containers, networks defined in docker-compose.yml
docker-compose down
```
### Kubernetes (k8s)
```bash
# Apply all Kubernetes manifests in current directory
kubectl apply -f .
# Delete all Kubernetes resources defined in current directory
kubectl delete -f .
```
## License
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.