Skip to content

Commit 8c368ee

Browse files
authored
rm: remote build deprecation notice & add troubleshooting steps (#1084)
* rm: remote build deprecation notice & add troubleshooting steps * chore: tweaks * chore: feedback
1 parent 4e7acda commit 8c368ee

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

admin/workspace-management/self-contained-builds.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Beginning with v1.30.0, the default is **self-contained workspace builds**,
1515
though site managers can toggle this feature off and opt for remote builds
1616
instead.
1717

18-
> Coder plans to deprecate remote workspace builds in the future.
19-
2018
To toggle self-contained workspace builds:
2119

2220
1. Log into Coder.
@@ -29,7 +27,31 @@ To toggle self-contained workspace builds:
2927
> Build errors are typically more verbose for remote builds than with
3028
> self-contained builds.
3129
32-
## Known issues
30+
## Troubleshooting
31+
32+
In certain cases, your workspace may not trust the `coderd` TLS certificate.
33+
This will result in the error below:
34+
35+
```console
36+
stream logs from workspace: Failed to create Container-based Virtual Machine
37+
```
38+
39+
To resolve this, you will need to copy the `coderd` TLS certificate into
40+
your Docker image's certificate trust store. Below are examples for doing so,
41+
for the major distributions:
42+
43+
### Debian and Ubuntu distributions
44+
45+
```Dockerfile
46+
RUN apt-get install -y ca-certificates
47+
COPY my-cert.pem /usr/local/share/ca-certificates/my-cert.pem
48+
RUN update-ca-certificates
49+
```
50+
51+
### CentOS, Fedora, RedHat distributions
3352

34-
At this time, Coder does not support certificate injection with self-contained
35-
workspace builds.
53+
```Dockerfile
54+
RUN yum install ca-certificates && update-ca-trust force-enable
55+
COPY my-cert.pem /etc/pki/ca-trust/source/anchors/
56+
RUN update-ca-trust extract
57+
```

0 commit comments

Comments
 (0)