Docker: Difference between revisions

700 bytes added ,  2 years ago
(→‎Removing Images: rm cmds added)
 
(3 intermediate revisions by the same user not shown)
Line 2:
__TOC__
<br />
 
= Basics =
*Docker Components:
 
- Image: Content at rest, Not the full OS, but just the basic environment
- Container: Running Image
- Engine: Software that executes commands for containers. Networking & Volumes are part of Engine.
- Registry: Stores, Distributes & Manages docker images.
- Control Plane: Management Plane for Container & Cluster Orchestration.
 
*Container Orchestration:
- Docker Swarm
- [[Kubernetes]]
- Mesos Marathon
- Cloud Foundry Diego
- Amazon ECS
- Azure Container Service
 
= Installation =
Line 51 ⟶ 68:
docker rmi $(docker images -q) --force
 
Remove all stopped containers, unused volumes, unused networks, all images without at least one container associated to them:
Reset docker similar to new installation:
docker system prune -a -f
 
= Installing MediaWiki =
Line 199 ⟶ 216:
ssh-keygen
 
= Docker Packet Captures =
 
docker exec -it 428947239426349 tcpdump -N -A 'port 80' -w capture.pcap
 
<br />