Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

creating docker based vms with ranchervm but requires KVM installed

# 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
Comment

PREVIOUS NEXT
Code Example
::  
::  
::  
Shell ::  
Shell ::  
::  
Shell ::  
::  
:: how to archive files in linux 
::  
::  
Shell ::  
Shell :: run shell script linux 
Shell ::  
::  
::  
:: du sort by size linux 
Shell ::  
Shell :: npm install proxy 
:: -v /var/run/docker.sock jenkins/jenkins 
::  
::  
Shell :: change folder permissions to public linux 
:: avro for debian 
::  
::  
Shell ::  
::  
:: sudo pkg instatll lando-stable.deb 
::  
ADD CONTENT
Topic
Content
Source link
Name
6+6 =