Managing VMs in UBuntu / Windows - Multipass
Like docker command , Ubuntu foundation has started a project "Multipass" for easy creation of VMs
on Linux / MAC and windows
Windows 10 uses native HyperV for creation of VM.
Prerequsitive
powershell#
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
multipass launch --name opengrok-vm
]
C:\Users\aprasad4>multipass find
Image Aliases Version Description
16.04 xenial 20200218.1 Ubuntu 16.04 LTS
18.04 bionic,lts 20200218 Ubuntu 18.04 LTS
C:\Users\aprasad4>multipass launch bionic --name opengrok-vm
Launched: opengrok-vm
( Might take 1 hour)
C:\Users\aprasad4>multipass list
Name State IPv4 Image
opengrok-vm Running 192.168.145.156 Ubuntu 18.04 LTS
C:\Users\aprasad4>multipass info opengrok-vm
Name: opengrok-vm
State: Running
IPv4: 192.168.145.156
Release: Ubuntu 18.04.4 LTS
Image hash: 3c3a67a14257 (Ubuntu 18.04 LTS)
Load: 0.00 0.05 0.11
Disk usage: 1000.3M out of 4.7G
Memory usage: 547.8M out of 897.9M
multipass shell opengrok-vm
C:\Users\aprasad4>multipass info --all
Name: opengrok-vm
State: Running
IPv4: 192.168.145.156
Release: Ubuntu 18.04.4 LTS
Image hash: 3c3a67a14257 (Ubuntu 18.04 LTS)
Load: 0.20 0.24 0.25
Disk usage: 2.5G out of 4.7G
Memory usage: 353.0M out of 1.1G
Mounts: C:/DATA/qlogic_linux5.5 => C:/DATA/qlogic_linux5.5
UID map: -2:default
GID map: -2:default
Like docker command , Ubuntu foundation has started a project "Multipass" for easy creation of VMs
on Linux / MAC and windows
Windows 10 uses native HyperV for creation of VM.
Prerequsitive
powershell#
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
multipass launch --name opengrok-vm
]
C:\Users\aprasad4>multipass find
Image Aliases Version Description
16.04 xenial 20200218.1 Ubuntu 16.04 LTS
18.04 bionic,lts 20200218 Ubuntu 18.04 LTS
C:\Users\aprasad4>multipass launch bionic --name opengrok-vm
Launched: opengrok-vm
( Might take 1 hour)
C:\Users\aprasad4>multipass list
Name State IPv4 Image
opengrok-vm Running 192.168.145.156 Ubuntu 18.04 LTS
C:\Users\aprasad4>multipass info opengrok-vm
Name: opengrok-vm
State: Running
IPv4: 192.168.145.156
Release: Ubuntu 18.04.4 LTS
Image hash: 3c3a67a14257 (Ubuntu 18.04 LTS)
Load: 0.00 0.05 0.11
Disk usage: 1000.3M out of 4.7G
Memory usage: 547.8M out of 897.9M
multipass shell opengrok-vm
C:\Users\aprasad4>multipass info --all
Name: opengrok-vm
State: Running
IPv4: 192.168.145.156
Release: Ubuntu 18.04.4 LTS
Image hash: 3c3a67a14257 (Ubuntu 18.04 LTS)
Load: 0.20 0.24 0.25
Disk usage: 2.5G out of 4.7G
Memory usage: 353.0M out of 1.1G
Mounts: C:/DATA/qlogic_linux5.5 => C:/DATA/qlogic_linux5.5
UID map: -2:default
GID map: -2:default