File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ func (r *RootCmd) workspaceAgent() *serpent.Command {
475475 },
476476 {
477477 Flag : "devcontainers-enable" ,
478- Default : "true " ,
478+ Default : "false " ,
479479 Env : "CODER_AGENT_DEVCONTAINERS_ENABLE" ,
480480 Description : "Allow the agent to automatically detect running devcontainers." ,
481481 Value : serpent .BoolOf (& devcontainersEnabled ),
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ OPTIONS:
3333 --debug-address string, $CODER_AGENT_DEBUG_ADDRESS (default: 127.0.0.1:2113)
3434 The bind address to serve a debug HTTP server.
3535
36- --devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default: true )
36+ --devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default: false )
3737 Allow the agent to automatically detect running devcontainers.
3838
3939 --log-dir string, $CODER_AGENT_LOG_DIR (default: /tmp)
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ resource "docker_container" "workspace" {
374374 " CODER_PROC_PRIO_MGMT=1" ,
375375 " CODER_PROC_OOM_SCORE=10" ,
376376 " CODER_PROC_NICE_SCORE=1" ,
377+ " CODER_AGENT_DEVCONTAINERS_ENABLE=1" ,
377378 ]
378379 host {
379380 host = " host.docker.internal"
You can’t perform that action at this time.
0 commit comments