File tree 3 files changed +3
-2
lines changed
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 {
475
475
},
476
476
{
477
477
Flag : "devcontainers-enable" ,
478
- Default : "true " ,
478
+ Default : "false " ,
479
479
Env : "CODER_AGENT_DEVCONTAINERS_ENABLE" ,
480
480
Description : "Allow the agent to automatically detect running devcontainers." ,
481
481
Value : serpent .BoolOf (& devcontainersEnabled ),
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ OPTIONS:
33
33
--debug-address string, $CODER_AGENT_DEBUG_ADDRESS (default: 127.0.0.1:2113)
34
34
The bind address to serve a debug HTTP server.
35
35
36
- --devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default: true )
36
+ --devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default: false )
37
37
Allow the agent to automatically detect running devcontainers.
38
38
39
39
--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" {
374
374
" CODER_PROC_PRIO_MGMT=1" ,
375
375
" CODER_PROC_OOM_SCORE=10" ,
376
376
" CODER_PROC_NICE_SCORE=1" ,
377
+ " CODER_AGENT_DEVCONTAINERS_ENABLE=1" ,
377
378
]
378
379
host {
379
380
host = " host.docker.internal"
You can’t perform that action at this time.
0 commit comments