Skip to content

Commit 68a298f

Browse files
committed
discourage rather than mention possibility
1 parent 4b2a928 commit 68a298f

File tree

1 file changed

+3
-4
lines changed
  • examples/templates/docker-devcontainer

1 file changed

+3
-4
lines changed

examples/templates/docker-devcontainer/main.tf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,11 @@ resource "docker_container" "workspace" {
315315
image = local.workspace_image
316316

317317
# NOTE: The `privileged` mode is one way to run Docker-in-Docker,
318-
# which is required for the devcontainer to work. IF this is not
318+
# which is required for the devcontainer to work. If this is not
319319
# desired, you can remove this line. However, you will need to ensure
320320
# that the devcontainer can run Docker commands in some other way.
321-
# Mounting the host Docker socket is one way to do this, but it is
322-
# strongly discouraged because workspaces will then compete for
323-
# control of the devcontainers.
321+
# Mounting the host Docker socket is strongly discouraged because
322+
# workspaces will then compete for control of the devcontainers.
324323
privileged = true
325324

326325
# Uses lower() to avoid Docker restriction on container names.

0 commit comments

Comments
 (0)