컨테이너 기반 가상화 플랫폼 → 가상화 참조
자주 쓰는 명령어
exited된 모든 컨테이너 삭제
docker rm $(docker ps -a -q -f status=exited)환경 설정
- 윈도우 WSL에서 Docker 설치
- Mac에서 Docker 환경구성 및 기본 사용법
- Docker Desktop 대탈출, multipass로 갑니다
- Mac에서 Docker Desktop 없이 사용하기
Apple Silicon (M1/M2) Mac - Lima 사용
# 기본 docker 컨테이너 실행
limactl start --name default template://docker메모리 부족 문제 해결 (Airflow 등 대용량 컨테이너용):
wget https://raw.githubusercontent.com/lima-vm/lima/master/examples/docker.yaml
mv docker.yaml default.yamldefault.yaml 수정:
cpus: 4
memory: "8GiB"
disk: "100GiB"limactl start default.yamllima에서 writable 마운트 디렉토리 설정 (~/.lima/default/lima.yaml):
mounts:
- location: "~/docker/airflow"
writable: trueTrouble Shooting
관련 노트
- Kubernetes - 컨테이너 오케스트레이션
- 가상화 - 가상화 개념 (QEMU/KVM 포함)
- Airflow - Docker Compose 기반 Airflow 설치
- Kafka - Docker Compose 기반 Kafka 구성