Home > database >  How can I run some cut commands in centos container?
How can I run some cut commands in centos container?

Time:10-26

I use docker running a CentOS8 container.

I know the image is minimized, so I can not use some commands in it. such as: clear, systemctl.

[root@e07da148cc16 /]# clear
bash: clear: command not found

is there any way to install some module, so I can run it? or whether there is other not minimized CentOS image with all commands ?

CodePudding user response:

docker run -it amazonlinux bash

Come with basic commands and ready for you to customize (yum install) further.

  • Related