Skip to content

lele-maxwell/Documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

MULTIPASS REVIEW

Multipass is a flexible and powerful tool that can be used for many purposes. In its simplest form, you can use it to quickly create and destroy Ubuntu VMs (instances) on any host machine. But you can also use Multipass to build a local mini-cloud on your laptop, to test and develop multi-instance or container-based cloud applications.Here we're going to be seeing some basic commnads and how they would help you manipulate your Virtual machine.

Installing multipass

You could start by installing the multipass using the commands; _>snap install multipass Subsequently if you no longer find interest in this tool you could simply ninstall it using the command ;

snap remove multipass

Instances

An instance in the context of virtual machines (VMs) refers to an individual, isolated virtual machine that is created and run within a virtualization platform or cloud environment. It is essentially a "copy" or "deployment" of a virtual machine template or image, running its own operating system and functioning as a separate, independent computing environment.This instances could be created using the following commands

multipass launch

But to create an instance with a specific image use the commandmultipass launch jammy that is after running multipass find to check which images are available An existing instance that is in Stopped or Suspended status can be started with the multipass start command;

  • TO start : use multipass start loving-duck given that loving-duck is the existing instance
  • TO stop : use multipass stop loving-duck given that loving-duck is the existing instance
  • TO suspend : use multipass suspend loving-duck given that loving-duck is the existing instance

Deleting instances

To mark an instance as deleted, run: multipass delete keen-yak You can also use the --purge option to permanently delete an instance in a single command; for example: multipass delete --purge keen-yak

How to use the Docker blueprint

The Docker blueprint gives Multipass users an easy way to create Ubuntu instances with Docker installed. It is based on the latest LTS release of Ubuntu, and includes docker engine and Portainer
To use the Docker blueprint, run multipass launch docker --name docker-vm, which will launch the docker-vm instance with default parameters.

Using the Alias

The alias command in Unix-like operating systems (such as Linux and macOS) is used to create shortcuts for frequently used commands. It allows you to define a custom alias or shorthand for a longer or more complex command, making it quicker and easier to execute. You'll need to add this to your shell configuration (.bashrc, .zshrc or so) for aliases to work without working with extra long commands

For more details om multipass, Follow the links bellow

All these commands done on the comand line can be done
using a PORTAINER which is the graphical user interface of a CONTAINER see [https://docs.portainer.io] for the documentation on portainers

Releases

No releases published

Packages

No packages published