Closed Spiritus44 closed 3 years ago
Hi Thanks for checking containerlab! Mac OS is not a supported OS, due to the fact that docker doesn't run natively on os x
On Mon, 21 Jun 2021 at 15:03, Spiritus @.***> wrote:
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 https://containerlab.srlinux.dev/install/#from-source, so I tried that :
go build github.com/containernetworking/plugins/pkg/ns: build constraints exclude all Go files in @.***/pkg/ns
github.com/srl-labs/containerlab/runtime/containerd
runtime/containerd/containerd.go:171:3 http://github.com/srl-labs/containerlab/runtime/containerdruntime/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 ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/srl-labs/containerlab/issues/464, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLKV5ICPXANQQRZKVQ4M6LTT42AJANCNFSM47BRHZ2A .
The way we run containerlab on mac is by launching a VM (i.e. vagrant box or virtualbox/vmware vm)
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.
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
Ok, I got it, thank you for your help.
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 :
My Macos version is 11.4.
I have the following go version :
Do you know how can I successfully install containerlab on my mac ? Should I change my containerd version ?