Questions tagged [linux-containers]

Linux containers (LXC) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.

Linux containers (LXC) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.

https://linuxcontainers.org/

224 questions
0
votes
1 answer

Docker exec command gets failed?

I am new to Docker Concept , I just started today playing with it . And I found out the exec command whose job is to run a new command in a running container. I am inside ~/linux-tweet-app directory which contains index-original.html and…
0xAnon
  • 847
  • 9
  • 20
0
votes
1 answer

Live backup lxc container

I know multiple ways to backing up a lxc container, but all of them, as far as I see, involve stop the container first. I would like to know if there is a way to make a live backup of the containers of course without stopping it.
amh9412
  • 79
  • 1
  • 11
0
votes
1 answer

Is there any way to run a .NET Core App inside a Linux container?

I have used Visual Studio 2017 (on Windows) to create my .Net Core App and am trying to run it inside a docker container. Based on their website .NET Core Apps should allow us developers to create cross-platform compatible software; .NET Core is a…
TheRealVira
  • 1,444
  • 4
  • 16
  • 28
0
votes
1 answer

Tab completion inside singularity bash shell

I am using a singularity container created from a docker ubuntu:xenial base image. When I get into the shell using this command - singularity shell --bind /path/to/inputs:/mnt3,/path/to/outputs:/mnt2 /singularity_docker_xenial_image.img 1) the tab…
0
votes
1 answer

Error creating ubuntu 16 container under arch

I am trying to install a Ubuntu container on Archlinux using LXC. I am following this guide:https://gist.github.com/manoj23/8a35849697945896cdaef77927c695a7 After I run this command: lxc-create --name=ubuntu-16 --template=ubuntu -- --release xenial …
Rashik
  • 1,014
  • 2
  • 16
  • 36
0
votes
0 answers

Accessing Linux container from Windows host

I have Linux (CentOS-7) containers which are running on top of Windows docker host. I can ping from Linux container (172.17.x.x) to Windows host (10.10.x.x) but I cannot do the opposite. My Windows version is 10 (firewall off).
Mahua Roy
  • 21
  • 3
0
votes
2 answers

Docker image isn't building: Linux container

I am trying to dockerize a simple dotnetcore webapi on linux container on a windows 10 machine and whenever i build the dockerfile i get this error: c:\docker-tutrial>docker build -t docker-tutorial . Sending build context to Docker daemon …
Salah
  • 173
  • 3
  • 17
0
votes
1 answer

LXC - Can't access package manager from linux container

I have LXD installed on a fedora 27 machine. I configured it a while ago, and it has worked fine long enough that I forgot how I set everything up. I just tried to create a new container and it creates successfully, but I can't get it to access the…
Yurelle
  • 348
  • 2
  • 13
0
votes
2 answers

Way to assign Linux container to the same LAN as host?

My goal is to make my Linux container live on the same lan as host and other devices. Because I need to use nmap frequently to scan the devices mac address on the lan. Unfortunately, the nmap scanning is only working when these machines all live on…
0
votes
0 answers

Is mounting of docker.sock required for host monitoring from within docker container?

Does it require to mount docker.sock for a docker container to monitor host files( look for changes in a file say logs) from within the container? If so, why?
chandan
  • 964
  • 1
  • 19
  • 26
0
votes
0 answers

Move an LXC Container from one host to another through an API

I'm new to LXC containers and i'm aware of how to move a container from one host to another using the cli move code, but how would it be possible to do this using the pylxd api or any other apis, i need to be able to do this for my upcoming project,…
Jonathan Kumar
  • 553
  • 1
  • 6
  • 20
0
votes
2 answers

unshare/isolate mount namespace

I'm trying to set up a linux container with isolated mount namespace using unshare tool from util-linux package : % sudo unshare -m -f /bin/bash So I'm expecting that bash will be launched in a namespace, where the mount namespace, i.e.…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
1 answer

Launch container from webpage

I have looked at sonata project demo page: http://demo.sonata-project.org There is something wonderfull on this page: They can start a container from a webpage. How can we do that ? What i want to do too is to wait the container ready before…
Bob5421
  • 7,757
  • 14
  • 81
  • 175
0
votes
1 answer

Where is the environment variables written in a docker image?

Where is the environment variables mentioned in the docker file being written inside the docker image ? Is there something like bash_profile or .bashrc inside the docker image?
Nigel Thomas
  • 1,881
  • 8
  • 30
  • 50
0
votes
1 answer

Linux Container (xenail) running react.js gives me Unable to Connect message when trying to connect to port 8080 from host

I am unable to connect to my Linux Container's web page. I am following Udemy's course on Reactjs and Redux and cloned the ReduxSimpleStarter repo from Github. I've ran npm install with no issues and then ran npm…
earth2jason
  • 715
  • 1
  • 9
  • 20