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
- Create a safe, isolated environment for running code.
- Let developers experiment, test changes, and build new features without impacting their local environment.
- Support running the sandbox either:
- Locally
- In the cloud
Enabling a sandbox
- The demo uses the command:
/sandbox enable
Configuring permissions
The video highlights configuring local permissions to control what the sandbox can access, including:
- Network access
- File system access