ctop/_docs/build.md

22 lines
322 B
Markdown
Raw Permalink Normal View History

2017-03-19 23:39:57 +01:00
# Build
2020-10-25 17:55:44 +01:00
To build `ctop` from source, simply clone the repo and run:
2017-03-19 23:39:57 +01:00
```bash
make build
```
To build a minimal Docker image containing only `ctop`:
```bash
make image
```
Now you can run your local image:
```bash
2020-10-25 17:55:44 +01:00
docker run --rm -ti \
--name ctop \
-v /var/run/docker.sock:/var/run/docker.sock \
ctop:latest
2017-03-19 23:39:57 +01:00
```