1. Docker 설치
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf update
# 도커 패키지 설치
sudo dnf install -y docker-ce docker-ce-cli containerd.io
docker --version
sudo systemctl start docker
sudo systemctl enable docker
2. Docker Network 구성
3. Docker Host/Server
3. Docker Volume 구성
docker volume create my-vol
docker volume ls
docker volume inspect my-vol
docker-compose.yml 설정
volumes:
- "/var/lib/docker/volumes/my-vol/_data:/data"
'Tech > Public Cloud & 오픈소스' 카테고리의 다른 글
AWS Data Transfer Costs (0) | 2023.09.06 |
---|---|
ELK(ElasticSearch, Logstash, Kibana) ELK Stack (0) | 2022.08.08 |
클라우드 보안 가이드 (0) | 2020.12.02 |