diff options
Diffstat (limited to 'fluent-bit/.devcontainer')
-rw-r--r-- | fluent-bit/.devcontainer/devcontainer.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/fluent-bit/.devcontainer/devcontainer.json b/fluent-bit/.devcontainer/devcontainer.json new file mode 100644 index 000000000..1f8a6221e --- /dev/null +++ b/fluent-bit/.devcontainer/devcontainer.json @@ -0,0 +1,38 @@ +{ + "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" +} |