LXC

LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC provides operating system-level virtualization by providing a virtual environment that has its own process and network space. LXC relies on the Linux kernel cgroups functionality. LXC is similar to other OS-level virtualization technologies on Linux such as OpenVZ and Linux-VServer, as well as those on other operating systems such as FreeBSD.

Share tech news, updates, or what's on your mind.

Sign up to Post

is there any graphical tools to monitor lxd?
what I want to see is cpu, men, disk, network trafik,.. .
0
Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

i try to start a lxd conatiner. I get error :
Error: Common start logic: Set last ID map: json: cannot unmarshal number into Go value of type [idmap.IdmapEntry
i try to change  volatile.idmap.next value sat to [] and start lxd
my config show:

config:
  image.architecture: amd64
  image.description: ubuntu 18.04 LTS amd64 (release) (20190604)
  image.label: release
  image.os: ubuntu
  image.release: bionic
  image.serial: "20190604"
  image.version: "18.04"
  security.idmap.base: "10000000"
  security.idmap.isolated: "true"
  security.idmap.size: "200000000"
  volatile.base_image: c234ecee3baaee25db84af8e3565347e948bfceb3bf7c820bb1ce95adcffeaa8
  volatile.eth0.hwaddr: 00:16:3e:6b:be:cb
  volatile.idmap.base: "200000000"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":10000000,"Nsid":0,"Maprange":200000000},{"Isuid":false,"Isgid":true,"Hostid":10000000,"Nsid":0,"Maprange":200000000}]'
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: "3000000000"
  volatile.last_state.power: STOPPED
devices: {}
ephemeral: false
profiles:
- lanprofile
stateful: false
description: ""
0
How to best prep a new machine for running LXD containers?
0
I looking for some hosting (international) to locate all my lxd. If you are familiar with that type.
0
linux (ubuntu) container can not ping from master.
i have a ubuntu 18.04 and i create a lxd. all server is in my dns and domain. i can ping all lxd from other server but in master server is not ping able even i add this host in (/etc/hosts)
ping says : ... Destination Host Unreachable
lxc list show all linux containers in this server with ip.
0
I am new to kubernetes and have started building a cluster on RHEL 7.3. I have kubernetes cluster setup on the master. When i try to use kubeadm join --token ancdbs.askdcvasdckasd x.x.x.:6443 The node is not able to join with following error message.

[discovery] Trying to connect to API Server "10.26.24.37:6443" [discovery] Created cluster-info discovery client, requesting info from "https://10.26.24.37:6443"

[discovery] Failed to connect to API Server "10.26.24.37:6443": there is no JWS signed token in the cluster-info ConfigMap. This token id "a7d815" is invalid for this cluster, can't connect

current version on master/nodes are as shown below.

Kubeadm version node:
kubeadm version: &version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0",
GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean",
BuildDate:"2017-06-29T22:55:19Z", GoVersion:"go1.8.3", Compiler:"gc",
Platform:"linux/amd64"}

Kubeadm version master:
kubeadm version: &version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0",
GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean",
BuildDate:"2017-06-29T22:55:19Z", GoVersion:"go1.8.3", Compiler:"gc",
Platform:"linux/amd64"}
0
We've NodeJS applications running inside docker containers. Sometimes, if any process gets locked down or due to any other issue the app goes down and we've to manually login to each container n restart the application. I was wondering if there is any sort of control panel that allow us to easily and quickly restart those and see the whole health of the system.

Please Note: we can't use --restart flag because essentially application doesn't exist with exist code. It run into problem like some process gets blocked, things are just getting bogged down vs any crashes and exist codes. That's why I don't think restart policy will help in this scenario.
0
i want to juju bootstrap localhost but the client cannot connect to the lxd daemon during installation..it seems to be a routing problem. both subnets are on the same vlan.

vlan 400

192.168.10.0/24
10.14.162.0/24

root@maas:~# ifconfig
ens160    Link encap:Ethernet  HWaddr 00:50:56:99:5f:63  
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe99:5f63/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:390619 errors:0 dropped:5 overruns:0 frame:0
          TX packets:68215 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:534722073 (534.7 MB)  TX bytes:19579105 (19.5 MB)

ens192    Link encap:Ethernet  HWaddr 00:50:56:99:14:a0  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:469882 errors:0 dropped:0 overruns:0 frame:0
          TX packets:351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:555261395 (555.2 MB)  TX bytes:34514 (34.5 KB)

ens224    Link encap:Ethernet  HWaddr 00:50:56:99:12:b9  
          inet addr:192.168.178.114  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe99:12b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8611 errors:0 dropped:0 overruns:0 frame:0
          TX packets:217 errors:0 dropped:0 overruns:0 …
0

LXC

LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC provides operating system-level virtualization by providing a virtual environment that has its own process and network space. LXC relies on the Linux kernel cgroups functionality. LXC is similar to other OS-level virtualization technologies on Linux such as OpenVZ and Linux-VServer, as well as those on other operating systems such as FreeBSD.

Top Experts In
LXC
<
Monthly
>