#StackBounty: #linux #centos #lxc Unable to do 'yum install' inside LXC container on CentOS 7

Bounty: 100

I am trying to create CentOS container inside CentOS 7 and host my application. But I am unable to install anything inside container.

If I do
yum -y install nodejs‘ i got below error

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fibergrid.in
 * extras: mirror.fibergrid.in
 * updates: mirror.fibergrid.in
No package nodejs available.
Error: Nothing to do

It is found that internet is not available inside the container, but outside the container internet is available.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.