<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi" -->

---
title: Netlab Examples in GitHub Codespaces « ipSpace.net blog
description: Netlab examples can now be run directly in GitHub Codespaces without any local setup. By copying the `.devcontainer` directory from the BGP labs repository...
canonical: https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Netlab Examples in GitHub Codespaces « ipSpace.net blog | daily.dev
og:description: Netlab examples can now be run directly in GitHub Codespaces without any local setup. By copying the `.devcontainer` directory from the BGP labs repository...
og:url: https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi
og:image: https://api.daily.dev/og/posts/kTysoBmyi.png
og:image:alt: Netlab Examples in GitHub Codespaces « ipSpace.net blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Netlab Examples in GitHub Codespaces « ipSpace.net blog

**[ipSpace.net Blog](https://daily.dev/sources/ipspace)** · 2 min read · 0 upvotes · 0 comments

## Summary

Netlab examples can now be run directly in GitHub Codespaces without any local setup. By copying the `.devcontainer` directory from the BGP labs repository into the netlab-examples repository, users can launch a codespace and run network labs in about a minute. The workflow involves navigating to the desired example directory, running `netlab up`, and cleaning up with `netlab down` when done. Supported container-based network devices include FRRouting, SR Linux, and VyOS (available immediately via Docker), while Arista cEOS and Nokia SR-SIM require manual installation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.ipspace.net/2024/07/netlab-examples-codespaces>

## Questions this post answers

### Which network devices can I run in GitHub Codespaces with netlab?

FRRouting, SR Linux, and VyOS can be used immediately in GitHub Codespaces — they are downloaded automatically from a Docker registry when the lab starts. Arista cEOS and Nokia SR-SIM require a separate manual installation step before they can be used in a Codespaces environment.

_Network engineers evaluating lab tooling options track netlab and Codespaces developments on daily.dev._

### How do I start a specific netlab example in GitHub Codespaces?

After opening the codespace (which always starts in the top-level directory), get the example's GitHub URL, extract the subdirectory path (e.g., BGP/Unnumbered), run `cd BGP/Unnumbered`, then execute `netlab up`. When finished, run `netlab down` and stop the Codespace to avoid unnecessary charges.

_Engineers building reproducible network labs find workflow tips like these on daily.dev._

## Similar posts on daily.dev

- [Networking Aspects of Running VMs in Containers « ipSpace.net blog](https://daily.dev/posts/networking-aspects-of-running-vms-in-containers-ipspace-net-blog-gttjndloc) · ipSpace.net Blog · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#networking](https://daily.dev/tags/networking), [#bgp](https://daily.dev/tags/bgp)

[View this post on daily.dev](https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Netlab Examples in GitHub Codespaces « ipSpace.net blog","url":"https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi"},"datePublished":"2026-08-11T08:51:47.243Z","dateModified":"2026-08-11T08:52:26.794Z","description":"Netlab examples can now be run directly in GitHub Codespaces without any local setup. By copying the `.devcontainer` directory from the BGP labs repository...","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"ipSpace.net Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ipSpace.net Blog","logo":"https://media.daily.dev/image/upload/s--xS7E82MT--/f_auto,q_auto/v1786438303/logos/ipspace?_a=BAMAMicg0","url":"https://daily.dev/sources/ipspace"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,networking,bgp","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ipSpace.net Blog","item":"https://daily.dev/sources/ipspace"},{"@type":"ListItem","position":3,"name":"Netlab Examples in GitHub Codespaces « ipSpace.net blog"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/netlab-examples-in-github-codespaces-ipspace-net-blog-ktysobmyi#faq","mainEntity":[{"@type":"Question","name":"Which network devices can I run in GitHub Codespaces with netlab?","acceptedAnswer":{"@type":"Answer","text":"FRRouting, SR Linux, and VyOS can be used immediately in GitHub Codespaces — they are downloaded automatically from a Docker registry when the lab starts. Arista cEOS and Nokia SR-SIM require a separate manual installation step before they can be used in a Codespaces environment. Network engineers evaluating lab tooling options track netlab and Codespaces developments on daily.dev."}},{"@type":"Question","name":"How do I start a specific netlab example in GitHub Codespaces?","acceptedAnswer":{"@type":"Answer","text":"After opening the codespace (which always starts in the top-level directory), get the example's GitHub URL, extract the subdirectory path (e.g., BGP/Unnumbered), run `cd BGP/Unnumbered`, then execute `netlab up`. When finished, run `netlab down` and stop the Codespace to avoid unnecessary charges. Engineers building reproducible network labs find workflow tips like these on daily.dev."}}]}
```

