LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-09-2017, 05:43 AM   #1
yknivag
LQ Newbie
 
Registered: Jul 2016
Location: Wiltshire, UK
Distribution: Linux Mint 17.1, OSMC, OpenSUSE
Posts: 7

Rep: Reputation: Disabled
Question "lxc list" vs "lxc-ls"


I'm quite new to LXC so please forgive me if this is something I should already be aware of, I've searched this forum back to 2010 and can't find anything related.

If I create a container using
Code:
lxc-create -t download -n LXC01
then it shows up only if I run
Code:
lxc-ls
and if I create a container using
Code:
lxc launch images:debian/jessie/amd64 LXC02
then it shows up only if I run
Code:
lxc list
. Neither container shows in the other listing.

I'm using Linux Mint 18.1 and the following version of LXD/LXC
Code:
mintos ~ # lxd --version
2.8
mintos ~ # lxc --version
2.8
mintos ~ #
Is the difference in the list commands because I also have "libvirt" installed (I'm using QEMU/KVM with Virtual Machine Manager also for fuller virtualisation). Am I effectively running two different instances/versions of LXC?

Last edited by yknivag; 03-09-2017 at 05:45 AM.
 
Old 03-09-2017, 05:53 AM   #2
yknivag
LQ Newbie
 
Registered: Jul 2016
Location: Wiltshire, UK
Distribution: Linux Mint 17.1, OSMC, OpenSUSE
Posts: 7

Original Poster
Rep: Reputation: Disabled
Doing a little digging in apt showed that I still had the package "lxc1" installed from previous experiments some time ago and so I had both lxc 1 and lxc 2 installed in parallel. Nice that you can do that but somewhat confusing that they don't list each other's containers.

Now to get macvlan working and I'll be sorted.
 
  


Reply

Tags
lxc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is it allowed to use full path to "*.desktop" files in the "mimeapps.list"? Andy_Crowd Linux - Newbie 1 05-12-2016 03:17 PM
cannot move minimized tabs @"bottom panel"("window list" extensoin) gnome3 eeluve Debian 3 08-06-2015 12:51 PM
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
"Multicolumn" or "tiles", or even "list" icon view on desktop, in any DE? the dsc Linux - Desktop 3 02-20-2010 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration