Questions tagged yum

Explore the latest questions and answers asked by our top developers.

Docker version is different from what was intended from the command

[[email protected] yum.repos.d]# yum install docker-ce-20.10.2* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: la.mirrors.clouvider.net * extras: mirrors.ocf.berkeley.edu * updates: sjc.edge.kernel.org Resolving Dependencies –> Running transaction check —> Package docker-ce.x86_64 3:20.10.2-3.el7 will be installed –> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> Processing Dependency: containerd.io >= 1.4.1 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> […]

By Aso K
Published
Categorised as centos, docker, yum Tagged , ,

RedHat Docker image fails to build (–enablerepo rhel-7-server-optional-rpm)

I build a Dockerimage with additional repos. This is the code to the part where it fails: FROM registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift USER root ADD content / RUN cp /opt/yum/HDP.repo /etc/yum.repos.d/HDP.repo RUN yum -y update && yum -y –enablerepo rhel-7-server-optional-rpms install bzip2 python36-pip python36 python36-devel openssl krb5-workstation mysql-devel gcc hadoop-client hadoop-libhdfs libtirpc-devel telnet && yum clean all -y […]

By Data Mastery
Published
Categorised as docker, redhat, rhel7, yum Tagged , , ,

The command ‘/bin/sh -c yum install yum-utils’ returned a non-zero code: 1

i am trying to setup laravel php setup using docker. Is something wrong with the docker file or the network configurations !!!! Using DockerFile: FROM centos:7 # Install some must-haves RUN yum -y install vim wget sendmail RUN yum -y install libtool make automake autoconf nasm libpng-static RUN yum -y install git RUN git –version […]

By Satscreate
Published
Categorised as docker, dockerfile, laravel, yum Tagged , , ,

what are the equivalent "busybox-suid and freetds-dev" in yum package?

what are the equivalent "busybox-suid and freetds-dev" in "yum" package.i am trying to install on redhat base image. Can anyone please help me on this. RUN yum install openssl freetds-dev && gem update –system && yum update busybox-suid RUN gem update –system Thanks, Prabha Source: Dockerfile Questions

By prabha vk
Published
Categorised as alpine, dockerfile, yum Tagged , ,

what are the equivalent "below package" in yum package?

what are the equivalent package "busybox-suid , imagemagick, [email protected] , freetds, unixodbc, unixodbc-dev and freetds-dev" in "yum" package.I am trying to install on redhat base image. Can anyone please help me on this. RUN yum install openssl freetds-dev && gem update –system && yum update busybox-suid RUN gem update –system Thanks, Prabha Source: Dockerfile Questions

By prabha vk
Published
Categorised as alpine, dockerfile, linux, linux-mint, yum Tagged , , , ,

Can’t install openjdk-11 with yum in container

I am trying to install openjdk-11 inside a container (lambci/lambda:build-python3.6) Multiple sources claim you can install openjdk 11 by running: yum update yum install java-11-openjdk-devel However all I get is: No package java-11-openjdk-devel available. And yum search doesn’t return anything for jdk 11. Any idea what I’m doing wrong? Thank you! Source: Docker Questions

By DonJuanEco
Published
Categorised as docker, java, linux, yum Tagged , , ,

python2 package not found or not installed

I’m getting the below error on executing "RUN tdnf install python2 -y" in my dockerfile python2 package not found or not installed Error(1011) : No matching packages This was working till now, but suddenly started throwing this error today. I’m getting the same error for python-requests as well but python3 is proceeding successfully. Source: Docker […]

By Apoorva Mishra
Published
Categorised as dnf, docker, python, python-2.x, yum Tagged , , , ,

Failing to install Docker on RHEL7.9

I am a BEGINNER following the video tutorial of my class, everyone made the same system. AWS EC2 RHEL7.9. I spent the last 7 hrs trying to follow solutions on stack exchange but I can’t make any of them work for my problem. Your help is much appreciated. Info and steps taken: Becoming root $ […]

By ilam engl
Published
Categorised as docker, installation, redhat, yum Tagged , , ,

How do I get Docker build to use yum instead of apt-get?

I am trying to setup a container using gradle with the following command: ./gradlew build website the gradle use the Following docker build command : docker build -t website I use Centos OS but, I get the Following : FROM debian:stretch-slim running apt-get update RUN apt-get update && apt-get install -y –no-install-recommends ca-certificates curl git […]

By enimert
Published
Categorised as apt-get, build, docker, gradle, yum Tagged , , , ,

Can install docker with yum on centos 7

I am following the steps shown here. It says to setup a repository by calling: sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo Then install by running: sudo yum install docker-ce docker-ce-cli containerd.io When I do that I get the following error: https://download.docker.com/linux/centos/7Server/x86_64/stable/repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found When I go to that URL, it is […]

By Vaccano
Published
Categorised as centos7, docker, yum Tagged , ,
1 2 3 4

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq