CentOS 8 docker-ce 및 docker compose 설치
2023. 1. 4. 15:57ㆍLinux/docker
728x90
SMALL
- 개요
docker-ce, docker compose를 CentOS 8에 설치하는 방법
- 설치방법
sudo yum config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo yum erase podman buildah
sudo yum install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
sudo curl -L https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- 설치 파일 다운로드
docker compose는 아래 github에서 최신 버전 확인 후 다운로드
https://github.com/docker/compose/releases
728x90
LIST
'Linux > docker' 카테고리의 다른 글
WARNING! Using --password via the CLI is insecure. Use --password-stdin. (0) | 2023.09.19 |
---|---|
Sending build context to Docker daemon 오래 걸릴 경우 (0) | 2023.06.30 |
docker cache 삭제 (1) | 2023.01.17 |
Install GPU nvidia-docker2 on CentOS 8 (0) | 2023.01.05 |
changing docker data root directory (0) | 2022.10.11 |