mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
v0.7.4, update docs
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
# Build
|
||||
|
||||
To build `ctop` from source, ensure you have [dep](https://github.com/golang/dep) installed and run:
|
||||
To build `ctop` from source, simply clone the repo and run:
|
||||
|
||||
```bash
|
||||
go get github.com/bcicen/ctop && \
|
||||
cd $GOPATH/src/github.com/bcicen/ctop && \
|
||||
make build
|
||||
```
|
||||
|
||||
@@ -16,5 +14,8 @@ make image
|
||||
Now you can run your local image:
|
||||
|
||||
```bash
|
||||
docker run -ti --name ctop --rm -v /var/run/docker.sock:/var/run/docker.sock ctop
|
||||
docker run --rm -ti \
|
||||
--name ctop \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
ctop:latest
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user