리눅스

multipass 실행법

까망거북 2022. 5. 27. 17:27

https://multipass.run

 

Multipass orchestrates virtual Ubuntu instances

Ubuntu VMs on demand for any workstation Get an instant Ubuntu VM with a single command. Multipass can launch and run virtual machines and configure them with cloud-init like a public cloud. Prototype your cloud launches locally for free. Select OS to get

multipass.run

 

가상 서버 생성

#input
multipass launch -n <이미지이름> 
or
multipass launch -n <이미지이름> 20.04

#output
Launched: <이미지이름>

 

가상서버 확인

multipass info <이미지이름>

가상서버 접속

multipass shell <이미지이름>

 

가상서버 삭제

multipass delete <이미지이름>

 

접속 없이 명령어 실행

multipass exec <이미지이름> -- <실행 명령어>

이경우 이미지가 구동이 안되어 있음 자동 구동까지 된다.