HTop on CoreOS without toolbox?

September 14, 2014 5.3k views

Is it possible to install Htop on CoreOS?

Which Linux distribution is CoreOS or has CoreOS a own distribution?


2 Answers

As @asb already said, CoreOS has no package manager and it is indeed it's own distribution.
The easiest way to use htop on your coreos server is using a container running htop:

docker run crosbymichael/htop

CoreOS isn't designed to be used that same way most other distro are. There is no package manager like apt or yum It's designed for applications to be run inside of Docker containers.

Though that does lead to issues when you're looking to debug the host system. For that, take a look at the /usr/bin/toolbox command. It provides a container (Fedora by default) with access to the host for debugging purposes.

Check out this series of tutorials on CoreOS. They should help point you in the right direction.

Have another answer? Share your knowledge.