Explore Dev Container features in Ona environments. Learn about benefits, how to create a devcontainer.json, and how Ona uses Dev Containers.
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
: