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

Issue during installation - macOS user #464

Closed
Spiritus44 opened this issue Jun 21, 2021 · 5 comments
Closed

Issue during installation - macOS user #464

Spiritus44 opened this issue Jun 21, 2021 · 5 comments

Comments

@Spiritus44
Copy link
Contributor

Hello,

Thank you for this promising project.
This afternoon I tried to install containerlab (from source) on my macbook pro 2020, I followed the instructions specified on this page, so I tried that :

go build github.com/containernetworking/plugins/pkg/ns: build constraints exclude all Go files in /Users/XXXXX/go/pkg/mod/github.com/containernetworking/plugins@v0.9.1/pkg/ns
# github.com/srl-labs/containerlab/runtime/containerd
runtime/containerd/containerd.go:171:3: undefined: oci.WithoutRunMount

My Macos version is 11.4.

I have the following go version :

containerlab [master] go version
go version go1.16.5 darwin/amd64

Do you know how can I successfully install containerlab on my mac ? Should I change my containerd version ?

@hellt
Copy link
Member

hellt commented Jun 21, 2021 via email

@hellt
Copy link
Member

hellt commented Jun 21, 2021

The way we run containerlab on mac is by launching a VM (i.e. vagrant box or virtualbox/vmware vm)

@Spiritus44
Copy link
Contributor Author

Thank you @hellt for your quick answer.

I'm not sure to understand what you mean by "docker doesn't run natively on os x", Docker released an official way to install it on mac OS.

Do you know when containerlabs will be supported on Mac os ? Is it plan ?

Whatever, until it's not, I will use a VM as you advised me.

@hellt
Copy link
Member

hellt commented Jun 21, 2021

On a mac os docker runs by means of a docker-desktop application, which is not "the native" way to run docker as opposed to running it under linux.

Until docker natively runs on mac, such as it does on linux, or until projects like lima won't be finilized, we can't have containerlab natively supported on a mac os

@Spiritus44
Copy link
Contributor Author

Ok, I got it, thank you for your help.

hellt added a commit that referenced this issue Jun 28, 2021
Edit documentation to clarify issue #464
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

2 participants