Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
whatwewant opened this issue Oct 17, 2021 · 6 comments
Open

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

whatwewant opened this issue Oct 17, 2021 · 6 comments

Comments

@whatwewant
Copy link
Member

whatwewant commented Oct 17, 2021

Repo

Syntax

  • lima nerdctl [compose] ... replace docker [compose] ...

Example

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

How to

  • use alias override in zmicro compose plugin when is macos and found lima
@whatwewant whatwewant changed the title nerdctl + lima replace MacOS Docker Desktop lima + nerdctl/docker replace MacOS Docker Desktop Oct 17, 2021
@whatwewant
Copy link
Member Author

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

@whatwewant
Copy link
Member Author

Just use Lima(VM) + Docker/Docker Compose

@whatwewant
Copy link
Member Author

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
Copy link
Member Author

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

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

@whatwewant
Copy link
Member Author

# 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
Copy link
Member Author

if only want container environment, just use abiosoft/colima

@whatwewant whatwewant changed the title lima + nerdctl/docker replace MacOS Docker Desktop colima or (lima + nerdctl/docker) replace MacOS Docker Desktop Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant