본문 바로가기

Programming/Tools

[Docker] Docker Desktop 대신 Colima를 사용해보자

Overview

Docker Desktop은 개인 사용자에게는 무료이지만 회사에서 업무 목적으로 사용시 아래 기준에 해당하는 회사에서는 비용을 지불하고 써야 합니다. 

*Commercial use of Docker Desktop at a company of more than 250 employees OR more than $10 million in annual revenue requires a paid subscription (Pro, Team, or Business) to use Docker Desktop.

출처 : https://www.docker.com/pricing/ 

 

Pricing | Docker

Docker licensing is always free for personal use. But what if your team or business wants to use Docker? Compare our pricing options and features.

www.docker.com

그에 대한 대체제로 MacOS(& Linux) 환경에서 가장 간단하게 세팅할 수 있는 Colima 에 대해 알아보겠습니다. 

Features

  • Intel and M1 Macs support
  • Simple CLI interface
  • Docker and Containerd support
  • Port Forwarding
  • Volume mounts
  • Kubernetes
  • Multiple instances

설치

MacOS 기준입니다. 

1. 기존에 설치되어 있는 Docker Desktop 삭제

https://docs.docker.com/desktop/uninstall/

 

Uninstall Docker Desktop

 

docs.docker.com

2. Colima, Docker 설치

$ brew install colima
$ brew install docker docker-compose

3. 설치 확인

$ docker --version
Docker version 20.10.22, build 3a2c30b63a
 
 
$ colima start
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ...                         context=vm
INFO[0003] starting ...                                  context=vm
....
 
 
$ colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.xxx.x
INFO[0000] socket: unix:///Users/xxxx/.colima/default/docker.sock

Reference