Skip to content

Commit cb9e1cc

Browse files
authored
Merge pull request #16 from he3als/simplify-docker-dev
feat(docker dev): update for host network
2 parents a0a6191 + 0aaffe5 commit cb9e1cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/docs/local-development/docker.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description: Setup a local development environment using Docker
44
---
55

66
<Callout type="error">
7-
This method only works on **macOS or Linux**. Windows is not supported.
7+
This method isn't officially supported on Windows. While it may work, expect
8+
potential issues.
89
</Callout>
910

1011
This approach offers several advantages compared to [Vagrant](vagrant):
@@ -22,14 +23,13 @@ This approach offers several advantages compared to [Vagrant](vagrant):
2223
- Docker Engine
2324
- On Linux, see your distro's wiki or [Docker's docs](https://docs.docker.com/engine/install/) for setting up Docker alongside its services
2425
- On macOS, [OrbStack](https://orbstack.dev/) is recommended to provide Docker Engine, but [Docker Desktop](https://www.docker.com/products/docker-desktop/) can be used instead
25-
- If using Docker Desktop on macOS, install [`docker-mac-net-connect`](https://github.com/chipmk/docker-mac-net-connect)
2626
- `buildx` and `compose` Docker extensions
2727
- These are installed by default with OrbStack and Docker Desktop
2828

2929
## Limitations
3030

31-
- Rootless Docker (Linux) is not supported
3231
- To delete or modify server data on Linux, you'll need to use `sudo` as Docker creates the volume binds as root
32+
- You can use rootless Docker to workaround this
3333
- If you move the repositories location, you'll need to [reset the server data](#resetting-server-data) as paths are hardcoded in the container
3434

3535
## Initial setup
@@ -104,9 +104,9 @@ To **irreversibly** reset your Docker data:
104104

105105
1. Enter the following command in your terminal (`sudo` is only required on Linux):
106106

107-
```bash
108-
sudo rm -rf var vendor .env srv
109-
```
107+
```bash
108+
sudo rm -rf var vendor .env srv
109+
```
110110

111111
1. Put the Docker compose back up again (`pnpm compose`) and server data should be recreated
112112

0 commit comments

Comments
 (0)