How to run GitHub Copilot in local and cloud sandboxes | demo

GitHub demonstrates how GitHub Copilot can run code inside an isolated sandbox, either locally or in the cloud. The demo shows how to enable a sandbox with the /sandbox enable command and how to control permissions like network and file system access so developers can test changes safely.

Overview

GitHub Copilot can now run in an isolated sandbox environment to provide a controlled space for code execution.

What the sandbox is for

Enabling a sandbox

Configuring permissions

The video highlights configuring local permissions to control what the sandbox can access, including: