diff --git a/README.md b/README.md index e02780c..18a0492 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,9 @@ kmon is written in [Rust](https://www.rust-lang.org/) and uses [tui-rs](https:// - [Cargo](#cargo) - [Arch Linux](#arch-linux) - [Nixpkgs](#nixpkgs) + - [Docker](#docker) + - [Build](#build) + - [Run](#run) - [Manual](#manual) - [Note](#note) - [Usage](#usage) @@ -99,9 +102,6 @@ kmon is written in [Rust](https://www.rust-lang.org/) and uses [tui-rs](https:// - [Changing the accent color](#changing-the-accent-color) - [Unicode symbols](#unicode-symbols) - [Setting the terminal tick rate](#setting-the-terminal-tick-rate) -- [Docker](#docker) - - [Build](#build) - - [Run](#run) - [Roadmap](#roadmap) - [Accessibility](#accessibility) - [Dependencies](#dependencies) @@ -166,6 +166,25 @@ nix-channel --update nixos nix-env -iA nixos.kmon ``` +### Docker + +[![Docker Hub Build Status](https://img.shields.io/docker/cloud/build/orhunp/kmon?color=000000&label=docker%20hub&style=flat-square)](https://hub.docker.com/r/orhunp/kmon) [![Package Registry Build Status](https://img.shields.io/docker/cloud/build/orhunp/kmon?color=000000&label=package%20registry&style=flat-square)](https://github.com/orhun/kmon/packages/95852) + +``` +docker run -it --cap-add syslog orhunp/kmon:tagname +``` +#### Build + +``` +docker build -t kmon . +``` + +#### Run + +``` +docker run -it --cap-add syslog kmon +``` + ### Manual 1. Download the latest binary from [releases](https://github.com/orhun/kmon/releases). @@ -475,25 +494,6 @@ kmon --unicode ![Setting the terminal tick rate](https://user-images.githubusercontent.com/24392180/76807925-1aa7a980-67f7-11ea-9af5-bb80849f5629.gif) -## Docker - -[![Docker Hub Build Status](https://img.shields.io/docker/cloud/build/orhunp/kmon?color=000000&label=docker%20hub&style=flat-square)](https://hub.docker.com/r/orhunp/kmon) [![Package Registry Build Status](https://img.shields.io/docker/cloud/build/orhunp/kmon?color=000000&label=package%20registry&style=flat-square)](https://github.com/orhun/kmon/packages/95852) - -``` -docker run -it --cap-add syslog orhunp/kmon:tagname -``` -### Build - -``` -docker build -t kmon . -``` - -### Run - -``` -docker run -it --cap-add syslog kmon -``` - ## Roadmap kmon aims to be a standard tool for Linux kernel management while supporting most of the Linux distributions.