Container packages

Now we can go into container cone and install prerequisites such as VPP, and perform some additional commands:

To enter our container via the shell, type:

# lxc-attach -n cone

Run the linux DHCP setup and install VPP:

root@cone:/# dhclient
root@cone:/# apt-get install -y curl
root@cone:/# curl -s | sudo bash
root@cone:/# apt-get update
root@cone:/# apt-get install -y --force-yes vpp
root@cone:/# sh -c 'echo  \"\\ndpdk {\\n   no-pci\\n}\" >> /etc/vpp/startup.conf'

After this is done, start VPP in this container:

root@cone:/# service vpp start

Exit this container with the exit command (you may need to run exit twice):

root@cone:/# exit
root@cone:/# exit

Repeat the container setup on this page for the second container ctwo. Go to the end of the previous page if you forgot how to start a container.