Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to confirm installations made in a docker container

Tags:

docker

yum

I've got a docker container and i'm trying to install python. I'm using yum for it:

yum install -y https://centos7.iuscommunity.org/ius-release.rpm

=> NOTE that I using CentOS-8. I found other install tutorials online but they were with dnf which I don't have.

yum update

=> this returns a screen where you get the all-known prompt: Total download size: 24 M Is this ok [y/N]: but docker doesn't let me type anything here, he quit automatically leaving Operation aborted. instead of y or n. How can i confirm my installation?

like image 853
Seppukki Avatar asked Dec 04 '25 18:12

Seppukki


1 Answers

I've found that when you run

yum update -y

it automatically says y to all the questions asked, so i could install it this way.

like image 168
Seppukki Avatar answered Dec 06 '25 07:12

Seppukki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!