2
1
I am trying to install the LXC and LXC container on a new HP server with Centos 6.8, using the article "Introduction to Containers on Linux using LXC".
Steps which I executed.
yum update
yum install libcap-devel libcgroup busybox wget bridge-utils
yum groupinstall "Development tools"
chkconfig cgconfig on
service cgconfig start
And downloaded and installed lxc
# install lxc
wget https://linuxcontainers.org/downloads/lxc-2.0.6.tar.gz
tar zxvf lxc-2.0.6.tar.gz
cd lxc-2.0.6
./configure
make && make install
Where I stopped
Now I need to create a bridge for sharing the network to the containers. But when I checked my server, I can see there is no ifcfg-eth*
files present in the path /etc/sysconfig/network-scripts
.
When I checked the network status, I can see
[root@server /]# service network status
Configured devices:
lo
Currently active devices:
lo eth0 eth1 eth2 eth3
Even ifconfig
command shows that the IP address is configured in eth0
.
How do I configure the bridge now, if the file is missing?
Also I need to know how to set the disk space of the new containers created...
Welcome (out) on SuperUser.
:-)
A general suggestion: report the steps of the article and write the last step(s) you have executed in that list. As your question is now you are requiring to the potential answerer to read all the article (and the link has to be active) in order to try to understand what you have done and which should be your problem... too much time--> few audience --> few answers;-)
. Good luck. ps> you can [edit] your question... – Hastur – 2017-01-23T05:56:42.100Good work... just added some sections to allow to jump where the people want. Again:good luck. – Hastur – 2017-01-23T09:43:35.177