# Running BGP Labs in GitHub Codespaces

DevFeed: [Running BGP Labs in GitHub Codespaces](<https://devfeed.tech/articles/running-bgp-labs-in-github-codespaces-11018.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/06/bgp-labs-github-codespaces/>)

Published: 2024-06-25T05:45:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [docker](<https://devfeed.tech/tags/docker.md>), [github](<https://devfeed.tech/tags/github.md>), [netlab](<https://devfeed.tech/tags/netlab.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

The article explains how to run BGP labs in GitHub Codespaces by adapting containerlab and netlab installation, building a container through a GitHub Action, and publishing it to GitHub Container Registry. It describes the resulting workflow and points readers to setup instructions.

## Source excerpt

I love open-source tools (and their GitHub repositories). Someone launches a cool idea, and you can dig through their source code to figure out how it works. It beats reading documentation or fixing AI hallucinations every day of the week ;) Not too long ago, the containerlab team launched the ability to run containerlab within a free1 container2 running on GitHub, and that seemed like a perfect solution to run the BGP labs (Jeroen van Bemmel pointing me in the right direction was another significant step forward). Read more ...