Questions tagged [LXC] (87)

0
answer

How to traverse in LXD (Ubuntu 18.04) HCI0 (Bluetooth) inside the container?

Good day! Can anyone that tell me: There is a host on Ubuntu 18.04, use it on the LXD and want the device hci0 has been available inside the container. All my attempts have led to the fact that the device itself inside the container there, but the service bluetoothd does not see at startup. What I did: -created container -a...
lillie_Reing asked April 18th 20 at 13:23
1
answer

How to start the docker container with an indication of the values in the files?

Hello! We faced the need to automate the startup of the container with your files: - there is a configuration file in which for each run of a container you need to make the new parameter value - prompt how to make so that when the container starts (or building image) and specifying the desired values have been the value to...
Mike asked April 4th 20 at 14:22
0
answer

Does not run Docker in your namespace?

Hello! Do the official instructions to run docker in their environment of names: - create the user testuser, add it to the docker group; - set up a launch daemon docker namespase user testuser; dockerd --userns-remap="testuser:testuser"; - restart the daemon: service docker restart - start to check namespace docker run h...
emely asked April 4th 20 at 13:46
1
answer

How to start the Docker container namespace in your environment?

Hello! Asked to improve the security of your container. Decided that one of the problems to solve the goal is: - launch container in their environment namespace. I ask the help in implementation. The reading man did not help to implement the running services inside the container as a non root user. Thank you
Lisette_Gottli asked April 4th 20 at 12:44
2
answers

Don't run systemd in a docker container?

Good evening! Prompt how best to implement the autostart services in the container when it restarts. I tried to install systemd in a container, try to run systemctl enable Zabbix-agent Synchronizing state of zabbix-agent.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/system...
alyce.Rodriguez asked April 4th 20 at 01:51
6
answers

How to ssh to a Docker container?

hi all. - set a container with ssh service - toss the container port 22 on the host - added razreshenie to connect to the root container in the container ssh_config - trying to connect remotely via ssh, after entering the password, writes: permission deny ...... Tell me what could be the problem?what else other than the po...
isidro.Ada asked April 4th 20 at 01:45
2
answers

How to solve the problem, there is a bug "remote side unexpectedly closed network connection" working via putty ssh?

There is a docker ubuntu 18.04.3 LTS (GNU/Linux armv71 4.2.8). When connected using putty to ssh to the server takes 10-15 seconds and error appears "remote side unexpectedly closed network connection". Look at the server sudo ssh status ssh not working(:Helps sudo /etc/init.d/ssh restart After this command, like all the ru...
Alene.Bosco asked April 4th 20 at 00:16
1
answer

How to start LXC container after a failure?

Greetings, friends! After a reboot of the host Proxmox will not start LXC container. It is when you start not gives any errors, reports a successful start and stops immediately. Where to look for the problem? pve-manager/6.0-11/2140ef37
Valentina.Spin asked April 2nd 20 at 15:29
2
answers

How to migrate a Linux server in a LXC container?

Greetings, friends! Tell me how to migrate a Linux server in a LXC container on Proxmox? Tried that. -Created the container. -I pollinterval FS pct mount 100 -Merged files from the old serverrsync -avz -H-X --one-file-system --numeric-ids --exclude-from=/tmp/exclude.txt -e ssh root@a.b.c.d:/ /var/lib/lxc/100/rootfs/ the exc...
Elliott_Mayer asked March 31st 20 at 21:49
0
answer

How to use snap inside lxc container?

How to use snap inside lxc container? Trying to install anything via snap - get:error: system does not fully support snapd: apparmor detected but insufficient permissions to use it Find recommendations for the lxd, but I have a regular lxc. How it to make?
Reilly_Jaco asked March 31st 20 at 21:14