zcorky / zmicro

Zero's Service Manager
MIT License
12 stars 1 forks source link

colima or (lima + nerdctl/docker) replace MacOS Docker Desktop #25

Open whatwewant opened 2 years ago

whatwewant commented 2 years ago

Repo

Syntax

Example

$ lima nerdctl compose up -d
# instead of
$ docker compose up -d

How to

whatwewant commented 2 years ago

test nerdctl compose, found it is not compatible with docker compose

whatwewant commented 2 years ago

Just use Lima(VM) + Docker/Docker Compose

whatwewant commented 2 years ago

Another problem for Lima or Other VM,network is not in the same network, maybe docker swarm or other cluster solution is a question

whatwewant commented 2 years ago

Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

https://gist.github.com/whatwewant/36a0f83cb7298f0e7aeb4bb2131e7e96

whatwewant commented 2 years ago
# docker compose up -d or nerdctl compose up -d
standard_init_linux.go:228: exec user process caused: exec format error

this is image platform not compitable, is not nerdctl / docker problem

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

whatwewant commented 2 years ago

if only want container environment, just use abiosoft/colima