{ "name": "devcontainer-fluent-bit", "image": "fluent/fluent-bit:latest-debug", // Features to add to the dev container. More info: https://containers.dev/features. "features": { // add non-root user. it is similar your local user. "ghcr.io/devcontainers/features/common-utils:2": { "version": "latest", "username": "fluent-bit" }, // docker-in-docker allows you to run Docker commands inside the dev container. Thus, it supports to build docker build in the environment. "ghcr.io/devcontainers/features/docker-in-docker:2": { "version": "latest", "moby": true, "dockerDashComposeVersion": "v1" } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // The ports are useful while sending data over tcp/udp from local applications. "forwardPorts": [ // 2020 // fluent metrics etc. // 80 // http input etc. ], "customizations": { "vscode": { "extensions": [ "ms-vscode.cpptools", "ms-azuretools.vscode-docker" ] } }, "remoteUser": "fluent-bit" }