You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,19 +82,11 @@ docker run -it --rm
82
82
83
83
You can see all the supported environment variables in [this document](./docs/env-variables.md).
84
84
85
-
## Unsupported Features
86
-
87
85
### Development Containers
88
86
89
-
The table below keeps track of features we plan to implement. Feel free to [create a new issue](https://github.com/coder/envbuilder/issues/new) if you'd like Envbuilder to support a particular feature.
87
+
[This document](./docs/devcontainer-spec-support.md)keeps track of what parts of the Dev Container specification Envbuilder currently supports.
| Volume mounts | Volumes are used to persist data and share directories between the host and container. |[#220](https://github.com/coder/envbuilder/issues/220)|
94
-
| Port forwarding | Port forwarding allows exposing container ports to the host, making services accessible. |[#48](https://github.com/coder/envbuilder/issues/48)|
95
-
| Script init & Entrypoint |`init` adds a tiny init process to the container, and `entrypoint` sets a script to run at container startup. |[#221](https://github.com/coder/envbuilder/issues/221)|
| Composefile | Define multiple containers and services for more complex development environments. |[#236](https://github.com/coder/envbuilder/issues/236)|
89
+
Feel free to [create a new issue](https://github.com/coder/envbuilder/issues/new) if you'd like Envbuilder to support a particular feature.
Copy file name to clipboardExpand all lines: docs/env-variables.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
|`--docker-config-base64`|`ENVBUILDER_DOCKER_CONFIG_BASE64`|| The base64 encoded Docker config file that will be used to pull images from private container registries. When this is set, Docker configuration set via the DOCKER_CONFIG environment variable is ignored. |
19
19
|`--fallback-image`|`ENVBUILDER_FALLBACK_IMAGE`|| Specifies an alternative image to use when neither an image is declared in the devcontainer.json file nor a Dockerfile is present. If there's a build failure (from a faulty Dockerfile) or a misconfiguration, this image will be the substitute. Set ExitOnBuildFailure to true to halt the container if the build faces an issue. |
20
20
|`--exit-on-build-failure`|`ENVBUILDER_EXIT_ON_BUILD_FAILURE`|| Terminates the container upon a build failure. This is handy when preferring the FALLBACK_IMAGE in cases where no devcontainer.json or image is provided. However, it ensures that the container stops if the build process encounters an error. |
21
+
|`--exit-on-push-failure`|`ENVBUILDER_EXIT_ON_PUSH_FAILURE`|| ExitOnPushFailure terminates the container upon a push failure. This is useful if failure to push the built image should abort execution and result in an error. |
21
22
|`--force-safe`|`ENVBUILDER_FORCE_SAFE`|| Ignores any filesystem safety checks. This could cause serious harm to your system! This is used in cases where bypass is needed to unblock customers. |
22
23
|`--insecure`|`ENVBUILDER_INSECURE`|| Bypass TLS verification when cloning and pulling from container registries. |
23
24
|`--ignore-paths`|`ENVBUILDER_IGNORE_PATHS`|| The comma separated list of paths to ignore when building the workspace. |
Copy file name to clipboardExpand all lines: docs/users.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,6 @@ Envbuilder always expects to be run as `root` in its container, as building an i
7
7
Envbuilder will first attempt to switch to the `containerUser` defined `devcontainer.json`.
8
8
If this is not specified, it will look up the last `USER` directive from the specified `Dockerfile` or image.
9
9
If no alternative user is specified, Envbuilder will fallback to `root`.
10
+
11
+
When installing Devcontainer Features, Envbuilder will add a directive `USER ${remoteUser}` directive directly after the feature installation directives.
12
+
If `remoteUser` is not defined, it will default to `containerUser`.
0 commit comments