🧰 Setup Prerequisites
- Install Visual Studio Code (VS Code)
- Install Docker Desktop
- Download for your platform (Windows, macOS, or Linux) from https://www.docker.com/products/docker-desktop.
- During installation, skip any optional sign-ins or opt-ins.
- After installation, launch Docker Desktop and ensure it’s running in your system tray.
💾 Clone the F′ Devcontainer Repository
- Open a terminal and run:
git clone [email protected]:TeraLink-1/fprime-dev-container.git
I recommend you use SSH for cloning. If you have not set up an SSH key, cloning with SSH will not work.
If you need help setting this up, a guide is linked below:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
💻 Prepare VS Code
- Open VS Code and install the following extensions (all by Microsoft):
- Remote Development
- Remote Explorer
- Dev Containers
- Docker
- Container Tools
- After installation, close and reopen VS Code to refresh extensions.
🐳 Build and Launch the Dev Container
- Open the cloned
fprime-devcontainer folder in VS Code (this must be the root folder).
(Avoid opening parent directories to prevent path issues.)
- Open a terminal inside VS Code and run:
docker compose up --build
- This builds the Docker image (Ubuntu-based) and launches the container.
- The first build may take ~1 minute.
- Once built, verify the container is running:
- In Docker Desktop, it will appear green and marked as “running.”
- In VS Code’s Remote Explorer, you’ll see the
fprime-dev-container with a ▶️ icon.