Launching Ubuntu instances with Multipass

Ғылым және технология

Multipass is a great tool you can use to quickly spin up Ubuntu instances for fun, testing, or whatever other reason your creative mind can come up with. I'll show you how to install this utility, and how to use it to launch your own fleet of Ubuntu VMs to do your bidding.
🙌 Support me on Patreon and get early access to new content!
➡️ learnlinux.link/patron
☁️ Get $100 in credit toward deploying your very own Linux servers on Linode!
➡️ linode.com/learnlinuxtv
🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
➡️ learnlinux.link/amazon
💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
➡️ learnlinux.link/tinypilot
🐦 Follow me on Twitter!
➡️ learnlinux.link/twitter
💬 Official LearnLinux.tv Community:
➡️ community.learnlinux.tv
📖 Check out jay's latest book, Mastering Ubuntu Server 3rd Edition. Available now!
➡️ ubuntuserverbook.com
Wiki article for this video
www.learnlinux.tv/launching-u...
Multipass website:
multipass.run
Snapd installation documentation:
snapcraft.io/docs/installing-...
👨 More about me:
➡️ www.jaylacroix.com
➡️ www.learnlinux.tv/about-me
💽 How to create a bootable flash drive for installing Linux:
➡️ linux.video/flash-usb
🐧 Which distro do I use?
➡️ learnlinux.link/mydistro
🔐 How to better secure OpenSSH:
➡️ linux.video/secure-ssh
☁️ How to create a cloud Linux server with Linode:
➡️ learnlinux.link/create-linode

Пікірлер: 95

  • @itsdavidalonso
    @itsdavidalonso2 жыл бұрын

    Hi Jay, thanks for the great video! What happens if you run an application or command that has a graphical component or that launches a GUI?

  • @mateoooo0o
    @mateoooo0o3 жыл бұрын

    Leeloo Dallas Multipass

  • @PoeLemic
    @PoeLemic3 жыл бұрын

    Thank you. Very good video, and you covered it to make it very, very easy to understand. New to Linux, but Guys like you are showing me the ropes ... Making Linux less intimidating ...

  • @therobust
    @therobust3 жыл бұрын

    What are resources consumed/taken by the vm instance once created/launched using multipass command?

  • @srirambhamidipati
    @srirambhamidipati2 жыл бұрын

    Thanks for this walkthrough. I am looking for saving a multipass container and use it later or share with others. is this possible? What are commands for commit/save a container as a disk image?

  • @AlexandreAlonso
    @AlexandreAlonso4 жыл бұрын

    I want to know how many driver multipass support, and if they can support external hypervisor machine or not? I look the documentation I can only see virtualbox, I don't if they support vmware workstation or fusion on mac, kvm, xen, external hypervisor cluster, or cloud machine

  • @noobypro4560
    @noobypro45602 жыл бұрын

    i needed this!! thank you so much i cant use docker cuz i have a old build of windows 10. Now i can use it as docker

  • @SkyFly19853
    @SkyFly198534 жыл бұрын

    Does it have a GUI like Virtual Box or Qume?

  • @santiagomoneta
    @santiagomoneta4 жыл бұрын

    Can multipass be used tu run a graphical application?

  • @MrKenneththeking11
    @MrKenneththeking112 жыл бұрын

    How do I access my downloads folder using change directory command ?

  • @fatbikejamie
    @fatbikejamie3 жыл бұрын

    Can you run a browser in the VM via multipass? IE: multipass exec primary firefox? Mine complains i don't have $DISPLAY env setup but offers no other help

  • @thiagoaugusto300
    @thiagoaugusto3003 жыл бұрын

    Hi, My multipass is not showing my IPv4, I'm using MacOs and my proxy is not blocking. Do you know anything about it?

  • @williamrobertmyers
    @williamrobertmyers4 жыл бұрын

    Is this a full replacement for running VM to for developing software? IE is this a full replacement for software like KVM or VMware?

  • @jprathap8393
    @jprathap83932 жыл бұрын

    Thanks for the video , i am getting this error "check_kvm_support script failed to start error when attempting to create VM" .I enabled Virtualization in the BIOS. I am using multipass in Ubuntu VM machine.

  • @jeremychick619
    @jeremychick6192 жыл бұрын

    Is it possible to give multipass VMs separate IPv4 or IPv6 static IP addresses? I'd like to port forward to a mutipass VM for plexmedia server for instance, but I don't know that this would be ideal. The other question I had is for data retention and firewalls. If I block something with UFW is it actually blocked? I ran into some issues with Docker that's why I've been hesitant to get on the containerization train. At any rate, I really appreciate the knowledge that you've shared with the community and you're always one of the people I recommend when it comes to learning linux.

  • @SomeTechGuy666
    @SomeTechGuy6664 жыл бұрын

    Great video. I didn't know about Multi Pass.

  • @alexsalgado
    @alexsalgado2 жыл бұрын

    Can I use to use graphic interface too?

  • @tpasi2020UG
    @tpasi2020UG4 жыл бұрын

    Another top notch tutorial.Thank you Jay!

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    My pleasure. :)

  • @colinmcneil3428
    @colinmcneil34282 жыл бұрын

    Hello all! When I tried to run 'multipass launch --name ubuntu-vm', all I got was "launch failed: The check_kvm_support script failed to start. Ensure it is in multipassd's PATH." (No, I'm not sure why it's called 'multipassd' or why 'path' is in all caps - that's exactly what it says). Any ideas on how to put 'check_kvm_support' in multipassd's path? I'm using a 2017 MacBook Pro, if that helps. Thanks and Godspeed!

  • @MercedeX7
    @MercedeX72 жыл бұрын

    Is it possible to run multiple vm?

  • @theconstantgardene
    @theconstantgardene2 жыл бұрын

    Friend, Please help me! I created a VM (instants? What's that) on my mac m1. It's good and running. Now, if I want to use that VM as a virtual computer to surf the web, downloads app, etc. how do I do that? Please help! Thanks for your kind support!

  • @iuliandragomirescu6851
    @iuliandragomirescu68514 жыл бұрын

    root@root:/home/iulian# sudo snap install --classic multipass snap "multipass" is already installed, see 'snap help refresh' root@root:/home/iulian# help me....I did what it says, but it still doesn't work ...

  • @timocarliermusic
    @timocarliermusic2 жыл бұрын

    Is it possible to run a server using multipass?

  • @racionator2668
    @racionator26683 жыл бұрын

    I have been using linode too for many years now. The fact that here plans are soo good and cheap and there tech support is fast saced me soo much time and money. Basicly everything that doesnt require a lot of storage is much more worth it to get moved on linode then self hosting. I only have freenas hosted at home now rest is all on linode

  • @raymieliasfonfaymunozp.eng3633
    @raymieliasfonfaymunozp.eng36333 жыл бұрын

    Which is my problem? when I cannont inicialicite an instance with multipass start or launch because console prints :( qemu-img; error: Process operation timed out) Is it my computer? or I need to install a package! help me please!

  • @ididevsengage6421

    @ididevsengage6421

    3 жыл бұрын

    im sure its latency of your internet, faced this issue , I had to wait till the internet was fast and stable

  • @jyvben1520
    @jyvben15204 жыл бұрын

    virtualbox can clone and/or have a "protected" vhd, but this needs an already installed distro in the vbox env, so that takes more space but can be any distro/windows version ... also you can have 1 core vhd of each. like ub 18/19 ... and debian/arch/mandriva/suse ..., but multipass looks good.

  • @aaryavartsolutions5359
    @aaryavartsolutions53594 жыл бұрын

    Thank You, Jay. Question. This looks and feels more like docker then vm. Please tell us how is this different from docker. Can we install and run docker inside of multipass

  • @lakshminarasimmanv

    @lakshminarasimmanv

    4 жыл бұрын

    Aaryavart Solutions yes it is possible

  • @Mladenac

    @Mladenac

    3 жыл бұрын

    It runs a VM using some virtualization technology not a container like a docker.

  • @tdannecy
    @tdannecy4 жыл бұрын

    I'm confused about that login and logout requirement to update PATH. What's going on here? Does something init on login? Is this logout required or can I run something to do the same thing?

  • @ZygmuntKrynicki

    @ZygmuntKrynicki

    4 жыл бұрын

    Amending PATH reliably is historically very hard. This allows the changed PATH to be picked up by the desktop session.

  • @antonsurviyanto5896
    @antonsurviyanto58964 жыл бұрын

    Thank you. VM without DE? just like docker?

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    Similar to Docker, but it has persistence. I would say more like LXC than Docker.

  • @ericespino7361
    @ericespino73614 жыл бұрын

    What are the advantages of using Multipass instead of docker or Vagrant?

  • @ahmadalwazzan384

    @ahmadalwazzan384

    4 жыл бұрын

    I was gonna type the same question.

  • @baldyardigan

    @baldyardigan

    4 жыл бұрын

    It's just their own alternative to these services, over Docker it definitely has a lot more similarities with a realistic machine because it doesn't "strip" everything "unnecessary" away. I really don't see any clear or direct benefits vs Vagrant besides it maybe having some better or more intuitive networking capabilities.

  • @ZygmuntKrynicki

    @ZygmuntKrynicki

    4 жыл бұрын

    Unlike docker it always gives you a virtual machine with the exact kernel you'd be using in production. It's similar to vagrant but differs in workflows built around it.

  • @joealtona2532

    @joealtona2532

    4 жыл бұрын

    Canonical wants you locked in.

  • @gaston-alegre-stotzer

    @gaston-alegre-stotzer

    4 жыл бұрын

    The three are targeted at different infrastructures. Multipass is targeted at cloud development... not that the other two can't do that mind you...

  • @dibbyo456
    @dibbyo4563 жыл бұрын

    Superb dude..

  • @ericespino7361
    @ericespino73614 жыл бұрын

    Can it be used for production solutions?

  • @JosueRodriguez08

    @JosueRodriguez08

    3 жыл бұрын

    Lol. Why would you want that in production?

  • @_rachid
    @_rachid3 жыл бұрын

    Thank you.

  • @radeksvoboda
    @radeksvoboda4 жыл бұрын

    You can try to execute "hash -r" command instead of logging out and back in.

  • @2n3055

    @2n3055

    2 жыл бұрын

    probably even tmux will play same role

  • @Vogel42
    @Vogel424 жыл бұрын

    Is it just a wrapper around docker?

  • @ZygmuntKrynicki

    @ZygmuntKrynicki

    4 жыл бұрын

    No, it is not using docker.

  • @SomeTechGuy666

    @SomeTechGuy666

    4 жыл бұрын

    @@ZygmuntKrynicki docker has a lot of issue with SELinux on Fedora 31.

  • @ZygmuntKrynicki

    @ZygmuntKrynicki

    4 жыл бұрын

    @@SomeTechGuy666 Docker and multipass are not alike. Multipass is a VM system. Docker is a container system. They both interact with SELinux but the surface area is different.

  • @SomeTechGuy666

    @SomeTechGuy666

    4 жыл бұрын

    @@ZygmuntKrynicki I know !

  • @agatehao
    @agatehao4 жыл бұрын

    Thanks for this intro video. It looks like vagrant can do the same thing. What's the pros and cons of choosing multipass?

  • @JosueRodriguez08

    @JosueRodriguez08

    3 жыл бұрын

    Pro: you don't need to know vagrant Con: It's Ubuntu

  • @donporter8432
    @donporter84324 жыл бұрын

    Great!

  • @khalildureidy
    @khalildureidy4 жыл бұрын

    Why would I use this instead of Docker?

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    Docker is great. But in my experience, not all apps run well in containers. There's never "one solution to rule them all", the IT industry is all about knowing how to use various tools so you can always choose the best tool for each particular job.

  • @JosueRodriguez08

    @JosueRodriguez08

    3 жыл бұрын

    @@LearnLinuxTV en in which cases is this the best tools for the role? You did not answer xD

  • @safwankavil7790
    @safwankavil77903 жыл бұрын

    Why does it feel like 2005 in this video?

  • @vb6code
    @vb6code3 жыл бұрын

    I'll use *updatedb* command instead of relogin!

  • @rosgori
    @rosgori2 жыл бұрын

    Now available for M1 Macs!

  • @Vasileski88
    @Vasileski883 жыл бұрын

    Leeloo Dalas Multipass !

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi4 жыл бұрын

    Thank you, Jay. Leeloo: "Mul-ti-pass!"

  • @markthompson4225

    @markthompson4225

    4 жыл бұрын

    beat me to it!

  • @NB-ir1me
    @NB-ir1me2 жыл бұрын

    Leeloo Dallas multipass

  • @friedpicklezzz
    @friedpicklezzz3 жыл бұрын

    Leeloo would approve

  • @barrettfrederick12

    @barrettfrederick12

    3 жыл бұрын

    You prolly dont give a shit but if you're bored like me during the covid times then you can watch all the latest movies and series on Instaflixxer. Have been streaming with my gf these days xD

  • @darrenrussell3214

    @darrenrussell3214

    3 жыл бұрын

    @Barrett Frederick definitely, I've been watching on InstaFlixxer for since november myself :)

  • @RonnyFretel
    @RonnyFretel2 жыл бұрын

    Its completly similar to docker.

  • @vripscript
    @vripscript4 жыл бұрын

    LXD without any features and hard to remember name..

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    LXD definitely has more features, and Multipass isn't really the most catchy name I've heard, so you're not wrong!

  • @vripscript

    @vripscript

    4 жыл бұрын

    @@LearnLinuxTV Something else which seems odd from what im seeing is images have an authorized_keys which has a key set, is not from the host or moved from user. way too much usage tracking in the tray app and on xfce the tray app open wrong shell so cant copy/paste. Needs work and bindings into vs-code etc else its useless imo

  • @arunsarma7997
    @arunsarma79973 жыл бұрын

    Why not vagrant? It is simple and faster

  • @joealtona2532
    @joealtona25324 жыл бұрын

    Just use vagrant instead, and install Linux distros of your choise.

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    Vagrant is a great solution for sure.

  • @joealtona2532
    @joealtona25324 жыл бұрын

    Multipass is sending telemetry to Canonical, even when the opt-in status is Denied multipass is still sending telemetry about the denied status. That leaks your IP at least.

  • @gaston-alegre-stotzer

    @gaston-alegre-stotzer

    4 жыл бұрын

    Please point me to the source of this claim...

  • @gmc9753

    @gmc9753

    4 жыл бұрын

    Doesn't Canonical know your IP address from installing updates anyway?

  • @DevCasey

    @DevCasey

    4 жыл бұрын

    @@gmc9753 I'm assuming that they may have a log of hits from your IP, but associating that with an account or keeping those logs are a different story.

  • @joealtona2532

    @joealtona2532

    4 жыл бұрын

    @@gaston-alegre-stotzer github.com/canonical/multipass/blob/75aa275f8311f03356451619aa7199bbc1c2c80e/src/daemon/daemon.cpp#L786

  • @joealtona2532

    @joealtona2532

    4 жыл бұрын

    @@gmc9753 you can easily change apt sources, you can run your own update server, you can not do it with multipass.

  • @garth56
    @garth564 жыл бұрын

    Get rid of snap throw it in the bin it's horrible,crap and yes shit.. Not good

  • @LearnLinuxTV

    @LearnLinuxTV

    4 жыл бұрын

    Actually, Snap is a great technology and I'm very happy it exists.

  • @ahamburger6787
    @ahamburger67873 жыл бұрын

    what is the dif between multipass and lxd?

Келесі