Skip to main content

Questions tagged [lxc]

LXC short for (Linux Containers) LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC is the userspace control package for Linux Containers, a lightweight virtual system mechanism sometimes described as “chroot on steroids”.

0 votes
0 answers
73 views

How to find rootfs disk file of lxc when it's running

It's a terrible mistake, I remove the disk file of lxc. I know linux rm will not remove file when it's open by other processes. So I login ssh of that lxc, it's running, and the files in that disk is ...
yhz's user avatar
  • 1
2 votes
1 answer
1k views

How can I connect a single USB device to my LXC container?

TL;DR I have two software radio devices attached to my Linux server. I have an LXC container running on the Linux server. Both software radios have the same productid and vendorid. How do I attach ...
EdwardTeach's user avatar
1 vote
0 answers
34 views

ping6 echo requests from container get lost partially

Thanks to kasperd's response on "ipv6 ping host got destination host unreachable until run tcpdump" I learned about tcpdump putting the listened on interface into promiscous mode. When ...
MasinAD's user avatar
  • 11
1 vote
2 answers
371 views

How to switch user to subuid running LXC container?

I'd like to either use su or sudo -u to switch users to the subuid created by LXC to run a container as unprivileged. Note: There is no username assigned to the UIDs in which containers are run. Due ...
Xylem's user avatar
  • 11
0 votes
1 answer
188 views

How to start dota2 on ubuntu in an unprivileged lxc container, since steam starts dota2 now in a runtime sandbox

Since the latest update, steam starts some linux games in a sandbox. If you have steam in an lxc container, so it does not install libs in your main OS or you want to isolate it from you work files, ...
stupidstudent's user avatar
1 vote
1 answer
1k views

How to save the state of a running LXC container?

Using VirtualBox or KVM, I can save the state of the guest VM, reboot the host and then resume the guest.How can I do that if my guest is only a container and not a VM ?
Juergen's user avatar
  • 586
0 votes
0 answers
380 views

After removing lxc device, still managed to access device from its boundary directory

I am using Lxd container for my sd card access in Linux based device. i mounted sd card with following commands mount /dev/sda1 /mnt/flash/sdcard. lxc config device add dhaneesh2 sda disk path=/mnt/...
Dhaneesh lal.D.R's user avatar
1 vote
0 answers
61 views

Daemon lxd-client client is not running

I have a problem with my init service. After I started the service lxd-agent I tried to check its status. I can see in the output of /etc/rc.d/rc.lxd-agent status below message: daemon: lxd-agent is ...
qidim's user avatar
  • 11
1 vote
1 answer
200 views

How to add home folder to user without one

I have a lxc container. I connect to it with sudo lxc-attach 100 which works fine. but I want to use it as a deployment target for jenkins (I know that I could use docker, but I haven't gotten that ...
JoSSte's user avatar
  • 405
0 votes
1 answer
502 views

Is it possible to build Linux kernel inside an LXC container?

I would like to build an optimized kernel for a machine that runs Ubuntu 20.04 but in my scenario I cannot "pollute" the Linux installation with all the dependencies required to do the build....
Steak Overflow's user avatar
1 vote
1 answer
380 views

how bind Dummy network interface od alias ip an LXC guest without bridge?

i search any way to bind second public or lan ip direct with Dummy Iface or Alias ip to LXC container WITHOUT bridge interface. any idea and config example? (debian) ip link add eth2 type dummy' LXC ...
Ted Marcin's user avatar
2 votes
1 answer
724 views

How LXC (Linux Containers) differ from Docker?

I am wondering if LXC and Docker does the same thing (Operating System level virtualization) What are the advantages/disadvantages one have over the other? I also want to know for a low power arm ...
Rajesh Pachaikani's user avatar
0 votes
0 answers
446 views

Wireguard handshake is unstable, and I don't know why

I tried using Wireguard on a Ubuntu LXC container in Proxmox. The handshake does not fail but is very unstable. If I connect to the server there can be multiple seconds until the handshake completes. ...
king_doublecheck's user avatar
0 votes
1 answer
318 views

How to attach to linux container started with systemd?

Long story short, I have a few unprivileged containers that run on boot that I used to be able to start from rc.local. That no longer works, and currently start them with a systemd unit. They start, ...
Tha D0od's user avatar
2 votes
1 answer
2k views

Create a LXD CentOS container

With lxc1, lxd and lxd-client installed I can launch a ubuntu based container with lxc launch --profile default ubuntu:18.04 c1 I was wondering if it is also possible to lauch a container based on ...
onknows's user avatar
  • 827

15 30 50 per page
1
2 3 4 5
7