Test Suite - Docker

From Libreswan
Revision as of 06:26, 14 November 2014 by Antony (talk | contribs)
Jump to navigation Jump to search
# install docker 1.3

yum -y remove docker
yum -y install docker-io
yum -y update docker-io
systemctl start docker
systemctl enable docker

wget -O /usr/local/bin/pipework  https://github.com/jpetazzo/pipework/raw/master/pipework
chmod a+x /usr/local/bin/pipework

# cd /home/build/
# git clone libreswan 

cd /home/build/libreswan/testing/docker/

docker build -t swanbase .
#coffee break. It will download fedora, about 200 packages 

cd /home/build/libreswan/testing/pluto/ikev2-36-docker
./runme 

to re-run the test you need to stop all these docker instances. If you don't know reboot your host:)

docker stop -f <cid> 
docker rm -f <cid>