lukaszlach / commando

:whale: Container registry which provides you all the commands you need in a lightweight Alpine image. DevOps and SysOps best friend. https://command-not-found.com
Other
540 stars 25 forks source link

htop & top does not work on OSX & Rasbian #2

Closed nordringrayhide closed 4 years ago

nordringrayhide commented 4 years ago

macOS 10.13.6 (17G8037) docker --version ?1 8:22:27 Docker version 19.03.5, build 633a0ea

docker run cmd.cat/htop htop                                                                                              √ 8:22:16
Error opening terminal: unknown.

Raspbian GNU/Linux 10 (buster) docker --version
Docker version 19.03.5, build 633a0ea

docker run cmd.cat/htop htop                                                                                                                                         
standard_init_linux.go:211: exec user process caused "exec format error"
lukaszlach commented 4 years ago

You need to pass -it on Mac as htop is an interactive application receiving input. As for Raspbian - yes, commando does not build images for arm, yet :)

nordringrayhide commented 4 years ago

Nice. It works. Cheers!