Skip to content

Commit 0acd2fa

Browse files
committed
custom images: clarify building CVM images
1 parent 59def65 commit 0acd2fa

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

images/writing.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Custom images allow you to define workspaces that include the dependencies,
77
scripts, and user preferences helpful for your project.
88

99
> If you're unfamiliar with how to create, build, and push Docker Images, please
10-
> review [this tutorial by
11-
> Docker](http://blog.shippable.com/build-a-docker-image-and-push-it-to-docker-hub)
10+
> review
11+
> [this tutorial by Docker](http://blog.shippable.com/build-a-docker-image-and-push-it-to-docker-hub)
1212
> before proceeding.
1313
1414
## Creating a custom image
@@ -32,11 +32,17 @@ Please note:
3232
[image minimum requirements](https://github.com/cdr/enterprise-images/#image-minimums)
3333
to make sure that your image will work with all of Coder's features.
3434

35-
- You can build images inside a Coder workspace using the
36-
[Docker Sandbox](https://github.com/bpmct/cdr-images/tree/master/docker-sandbox).
37-
If, however, you're using [CVMs](../admin/workspace-management/cvms.md),
38-
you'll need to have the [sysbox runtime](https://github.com/nestybox/sysbox)
39-
on your machine.
35+
- You can build images inside a
36+
([CVM](../admin/workspace-management/cvms.md)-enabled) Coder workspace with
37+
Docker installed, such as our
38+
[base image](https://github.com/cdr/enterprise-images/tree/main/images/base).
39+
40+
- If you're using CVM-only features during an image's build time, such as
41+
[pre-loading images](https://github.com/nestybox/sysbox/blob/master/docs/quickstart/images.md#building-a-system-container-that-includes-inner-container-images--v012-)
42+
in workspaces, you will need to install the
43+
[sysbox runtime](https://github.com/nestybox/sysbox) on your local machine and
44+
build images there. This is usually not necessary, even if your image installs
45+
and enables Docker.
4046

4147
## Example: Installing an IntelliJ IDE
4248

0 commit comments

Comments
 (0)