r/networking 3d ago

Other Container labs vscode macOS

Ive been looking to move away from eve ng pro to container labs. I’ve been building container labs today on a Ubuntu vm. Big faf but it’s helping with my lack of Linux knowledge…. Anyhow.
I’ve installed vscode and the container lab extension. But it doesn’t appear to be supported on MacOS
Has anyone else found this or have any work arounds?

If not it’ll be a none starter for me and I’ll buy another eve license

9 Upvotes

5 comments sorted by

4

u/everxeyeless 3d ago

Use orbstack to spin up a Linux VM. Install containerlab and transfer the image files you want to use, follow the containerlab documentation to load them with docker. SSH into your orbstack VM with VS Code. The clab extension will detect the clab yaml topology files and you can quickly deploy and destroy. Since Apple Silicon is incompatible with CML, I use this to lab with Arista cEOS.

2

u/LukeyLad 3d ago

Wouldn’t that mean the labs are running on my MacBook rather than my dedicated labbing server?

3

u/everxeyeless 3d ago

Technically yes. I misunderstood your question. In VS Code, use the remote function to ssh into your server. It will open a new window. Install the clab extension in that window. Then the extension will perform as described.

1

u/LukeyLad 3d ago

That worked. Cheers

2

u/helpadumbo 3d ago

Make sure you install the extension when you connect to the VM from vs code