Skip to content

Commit 0aae37f

Browse files
committed
add experimental note
1 parent 1eec238 commit 0aae37f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

codersdk/workspacesdk/workspacesdk.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,13 @@ type WorkspaceAgentReconnectingPTYOpts struct {
308308
// on the client will not be sent.
309309
SignedToken string
310310

311-
// Container, if set, will attempt to exec into a running container visible to the agent.
312-
// This should be a unique container ID (implementation-dependent).
311+
// Experimental: Container, if set, will attempt to exec into a running container
312+
// visible to the agent. This should be a unique container ID
313+
// (implementation-dependent).
314+
// ContainerUser is the user as which to exec into the container.
315+
// NOTE: This feature is currently experimental and is currently "opt-in".
316+
// In order to use this feature, the agent must have the environment variable
317+
// CODER_AGENT_DEVCONTAINERS_ENABLE set to "true".
313318
Container string
314319
ContainerUser string
315320
}

0 commit comments

Comments
 (0)