Skip to content

Files

Latest commit

82677d5 · Mar 19, 2017

History

History
20 lines (15 loc) · 451 Bytes

build.md

File metadata and controls

20 lines (15 loc) · 451 Bytes

Build

To build ctop from source, ensure you have a recent version of glide installed and run:

go get github.com/bcicen/ctop && \
cd $GOPATH/src/github.com/bcicen/ctop && \
make build

To build a minimal Docker image containing only ctop:

make image

Now you can run your local image:

docker run -ti --name ctop --rm -v /var/run/docker.sock:/var/run/docker.sock ctop