- Lab
- A Cloud Guru
Launching LXD Containers
LXD, or the Linux Container Daemon, lets us leverage the resource-light LXC virtualization method, as well as providing additional support for the container images we use to spin up our containers. In this lab, we'll pull down and cache two separate images, then create a series of containers based on these images.
Path Info
Table of Contents
-
Challenge
Copy the Alpine Linux Image
Copy the image to the LXD server, ensuring to provide an alias:
lxc image copy images:alpine/edge local: --alias alpine
-
Challenge
Copy the Ubuntu Image
Copy the image to the LXD server, ensuring to provide an alias:
lxc image copy ubuntu: local: --alias ubuntu
-
Challenge
Launch the Alpine Linux Container
Launch a new container, called
alpine-test
:lxc launch alpine alpine-test
-
Challenge
Launch the Ubuntu Container
Launch the
ubuntu-test
container:lxc launch ubuntu ubuntu-test
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.