ctop/_docs/build.md

22 lines
322 B
Markdown
Raw Normal View History

2017-03-19 22:39:57 +00:00
# Build
2020-10-25 16:55:44 +00:00
To build `ctop` from source, simply clone the repo and run:
2017-03-19 22:39:57 +00: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 16:55:44 +00:00
docker run --rm -ti \
--name ctop \
-v /var/run/docker.sock:/var/run/docker.sock \
ctop:latest
2017-03-19 22:39:57 +00:00
```