Development container creation has been tested using the following platforms:
- Ubuntu 24.04 with native rootful or rootless Docker
including Docker Compose V2
- Other Linux distributions should be suitable for development container creation.
- Regardless of whether rootful or rootless Docker is used, some configuration is required before development container creation.
- Rootless Docker is recommended to reduce security risks and requires additional configuration before development container creation.
- MacOS Sequoia with Docker Desktop.
- Windows 11 with non-systemd enabled WSL 2 Ubuntu and Docker Desktop.
- Windows 11 with systemd enabled WSL 2 Ubuntu with native rootless Docker including Docker Compose V2
-
Visual Studio Code with remote containers extension
- Install on Windows host machine when using Windows.
-
- Install on the WSL 2 Linux distribution when using Windows.
-
- These should be available by default when using native Linux and WSL 2.
- These will need installing manually when using macOS.
-
Ensure GPG-AGENT is running as a daemon
- Run on the WSL 2 Linux distribution when using Windows.
-
Ensure that an SSH Agent is running. The followng command can be used to start an SSH agent if needed:
eval $(ssh-agent -s)
- Run on the WSL 2 Linux distribution when using Windows.
Visual Studio Code development containers provide inbuilt support for accessing git credentials without copying them to the container.
- GitHub Credential Sharing must be setup on the WSL 2 Linux distribution when using Windows.