1
0
mirror of https://github.com/bcicen/ctop.git synced 2024-08-30 18:23:19 +00:00
ctop/_docs/build.md
2017-09-03 10:53:01 +09:00

422 B

Build

To build ctop from source, ensure you have dep 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