Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

using docker as a managed vm

# Introducing RancherVM: Package and Run Virtual Machines as Docker Containers

docker run -v /var/run/docker.sock:/var/run/docker.sock -p 8080:80 -v /tmp/ranchervm:/ranchervm rancher/ranchervm
docker run -e "RANCHER_VM=true" --cap-add NET_ADMIN -v /tmp/ranchervm:/ranchervm --device /dev/kvm:/dev/kvm --device /dev/net/tun:/dev/net/tun rancher/vm-rancheros
Source by www.suse.com #
 
PREVIOUS NEXT
Tagged: #docker #managed #vm
ADD COMMENT
Topic
Name
2+8 =