summaryrefslogtreecommitdiffstats
path: root/docs/src/contributing_docker_development.md
blob: afa05107281c355775cd99903539736422f43cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Docker Development

## Running

```bash
sudo apt install git docker-compose
git clone https://github.com/LemmyNet/lemmy
cd lemmy/docker/dev
sudo docker-compose up --no-deps --build
```

and go to http://localhost:8536.

To speed up the Docker compile, add the following to `/etc/docker/daemon.json` and restart Docker.
```
{
  "features": {
    "buildkit": true
  }
}
```

If the build is still too slow, you will have to use a
[local build](contributing_local_development.md) instead.