Skip to content

Commit 965517a

Browse files
committed
chore: fmt
1 parent fa51da8 commit 965517a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

registry/coder-labs/templates/docker-build/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ This template builds a custom Docker image from the included Dockerfile, allowin
2323
### Infrastructure
2424

2525
#### Running Coder inside Docker
26+
2627
If you installed Coder as a container within Docker, you will have to do the following things:
28+
2729
- Make the the Docker socket available to the container
2830
- **(recommended) Mount `/var/run/docker.sock` via `--mount`/`volume`**
2931
- _(advanced) Restrict the Docker socket via https://github.com/Tecnativa/docker-socket-proxy_
@@ -34,7 +36,9 @@ If you are using `docker-compose`, here is an example on how to do those things
3436
https://github.com/coder/coder/blob/0bfe0d63aec83ae438bdcb77e306effd100dba3d/docker-compose.yaml#L16-L23
3537

3638
#### Running Coder outside of Docker
39+
3740
If you installed Coder as a system package, the VM you run Coder on must have a running Docker socket and the `coder` user must be added to the Docker group:
41+
3842
```sh
3943
# Add coder user to Docker group
4044
sudo adduser coder docker

registry/coder/templates/docker-devcontainer/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Provision Devcontainers as [Coder workspaces](https://coder.com/docs/workspaces)
1515
### Infrastructure
1616

1717
#### Running Coder inside Docker
18+
1819
If you installed Coder as a container within Docker, you will have to do the following things:
20+
1921
- Make the the Docker socket available to the container
2022
- **(recommended) Mount `/var/run/docker.sock` via `--mount`/`volume`**
2123
- _(advanced) Restrict the Docker socket via https://github.com/Tecnativa/docker-socket-proxy_
@@ -26,7 +28,9 @@ If you are using `docker-compose`, here is an example on how to do those things
2628
https://github.com/coder/coder/blob/0bfe0d63aec83ae438bdcb77e306effd100dba3d/docker-compose.yaml#L16-L23
2729

2830
#### Running Coder outside of Docker
31+
2932
If you installed Coder as a system package, the VM you run Coder on must have a running Docker socket and the `coder` user must be added to the Docker group:
33+
3034
```sh
3135
# Add coder user to Docker group
3236
sudo adduser coder docker

registry/coder/templates/docker/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Provision Docker containers as [Coder workspaces](https://coder.com/docs/workspa
1717
### Infrastructure
1818

1919
#### Running Coder inside Docker
20+
2021
If you installed Coder as a container within Docker, you will have to do the following things:
22+
2123
- Make the the Docker socket available to the container
2224
- **(recommended) Mount `/var/run/docker.sock` via `--mount`/`volume`**
2325
- _(advanced) Restrict the Docker socket via https://github.com/Tecnativa/docker-socket-proxy_
@@ -28,7 +30,9 @@ If you are using `docker-compose`, here is an example on how to do those things
2830
https://github.com/coder/coder/blob/0bfe0d63aec83ae438bdcb77e306effd100dba3d/docker-compose.yaml#L16-L23
2931

3032
#### Running Coder outside of Docker
33+
3134
If you installed Coder as a system package, the VM you run Coder on must have a running Docker socket and the `coder` user must be added to the Docker group:
35+
3236
```sh
3337
# Add coder user to Docker group
3438
sudo adduser coder docker

0 commit comments

Comments
 (0)