Explore Gitpod’s Dev Container features. Learn about the benefits of using Dev Containers, how to create a devcontainer.json file, and how to use Gitpod’s Dev Container support.
Beware that devcontainer’s interaction with docker compose can quickly lead to broken environments, due to unforeseen interactions between your devcontainer and Docker services.devcontainer.json: This file defines the development container configuration and ties it to the Docker Compose setup.
--network=host
in the .devcontainer.json
file:
network_mode: host
in the docker-compose.yml
file:
runArgs
to your devcontainer.json
: