2025-07-27 21:52:18mvbingham:
added better info for docker
docker.md ..
@@ 4,10 4,139 @@
Docker provides a convenient and efficient way to package, distribute, and manage applications. Our focus on Docker containers aims to simplify your tech journey, offering easy-to-follow guides and practical tips for deployment and maintenance.
+
### Key Benefits
+
+
- **Consistency**: Run applications in the same environment across different machines
+
- **Isolation**: Keep applications and their dependencies separate
+
- **Portability**: Deploy anywhere that runs Docker
+
- **Resource Efficiency**: Use system resources more effectively than traditional VMs
+
- **Quick Deployment**: Spin up containers in seconds
+
- **Version Control**: Easy rollback and update procedures
+
- **Scalability**: Scale applications up or down easily
+
+
## Prerequisites
+
+
Before getting started with Docker, ensure you have:
+
+
1. A system running Linux, Windows, or macOS
+
2. Docker Engine installed
+
3. Docker Compose installed (comes with Docker Desktop)
+
4. Basic understanding of command line operations
+
5. Sufficient system resources for your containers
+
+
## Basic Docker Commands
+
+
```bash
+
# List running containers
+
docker ps
+
+
# List all containers (including stopped)
+
docker ps -a
+
+
# Pull an image
+
docker pull <image-name>
+
+
# Start a container
+
docker start <container-name>
+
+
# Stop a container
+
docker stop <container-name>
+
+
# Remove a container
+
docker rm <container-name>
+
+
# View container logs
+
docker logs <container-name>
+
```
+
+
## Docker Compose
+
+
Docker Compose is our preferred method for container deployment. It allows you to:
+
+
- Define multi-container applications
+
- Store configuration in version control
+
- Single command to start all services
+
- Manage complex container relationships
+
+
### Basic Docker Compose Commands
+
+
```bash
+
# Start services
+
docker compose up -d
+
+
# Stop services
+
docker compose down
+
+
# View logs
+
docker compose logs
+
+
# Update containers
+
docker compose pull
+
docker compose up -d
+
```
+
## Available Containers
-
Check out the below link to see the compose files that I have setup and tested there are thousands and thousands that you could use.
-
These are just the ones that I have setup and have found useful:
+
+
Check out the compose files that I have setup and tested below. While there are thousands of Docker containers available, these are the ones I've personally verified and found useful for homelab setups: