Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Docker with CentOS

docker run -it --name cent -w /opt centos:7
  • To install nano type in the following:
yum install nano
  • In order to install htop first we need to add EPEL (Extra Packages for Enterprise Linux)
yum install epel-release
yum install htop
  • Then we can use it
htop
  • exit and start again:
docker container start -i cent