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

How to mount a host directoy to my unpriviledged lxc

I have an unprivileged lxc container. And I want to mount a directory ~/Project in the host machine to the lxc. I tried to modifying the lxc config file. The following is my lxc config file: # Template used to create this container:…
Md Sahil
  • 3
  • 4
0
votes
1 answer

dotnet restore error on linux container in docker corporate environment in vpn

A Little background on the environment. Corporate environment that works only on Cisco AnyConnect VPN, Has proxy server to be setup to access git or internet, Windows Laptop running Docker CE latest version with linux container. I am trying out the…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
0
votes
1 answer

runc container cpu usage

Where to look for cpu usage for a specific runc container? . There is no file present in /proc// ( is the pid obtained from runc list command) by any cpu related name which gives cpu usage for that specific container. In /sys/fs/cgroup…
user13145713
  • 109
  • 8
0
votes
1 answer

joined process cannot write ns_last_pid of the container

A process from a host joined a container's namepsace and is trying to write ns_last_pid file present in /proc/sys/kernel/ns_last_pid. but it is giving an error of Read only file system. whereas i'm able to do this on the host's ns_last_pid file via…
0
votes
1 answer

Docker volume not showing running linux container on Windows 10

I am running Docker for Windows v19.03.12. I am running a linux container from Windows 10. I am sharing my entire c:\ drive with Docker (see image). I am trying to testing a container locally and need to pass a credentials file to the…
0
votes
0 answers

How to traverse through the pid namespace of a container?

I've to traverse through the process tree of the container launched in runc container environment. My goal is to walk the process tree when the container is paused and call clone method to specific pid of that process tree so that it creates a new…
user13145713
  • 109
  • 8
0
votes
1 answer

.net core(system.drawing.common) not able to render chinese and arabic fonts on linux docker container

I create a docker file as below: FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 AS base RUN apt-get update \ && apt-get install -y --allow-unauthenticated \ libc6-dev \ libgdiplus \ libx11-dev \ && rm -rf…
Niranjan NT
  • 165
  • 1
  • 19
0
votes
2 answers

Can I push a docker compose application for others to pull and run on their systems?

I followed this docker tutorial https://docs.docker.com/compose/gettingstarted/ So i ended with a python app which is connects to Redis. When I go to http://localhost:5000/ I can see that every time I refresh the page, a counter adds up by 1. I…
Ian_Lane
  • 65
  • 1
  • 7
0
votes
1 answer

Runtimes supported by containerd apart from runC?

Does containerd support any other runtimes apart from runC? Further, the containerd site says, "An industry-standard container runtime with an emphasis on simplicity, robustness and portability". Does this refer to any specific standard like the OCI…
samshers
  • 1
  • 6
  • 37
  • 84
0
votes
1 answer

.Net Core application running on a linux container

Following this link I build a .Net Core application and was able to run the application in a docker container. My host machine OS is Windows 10, and I now want to try to run the linked application in a Linux container. I have switched to Linux…
0
votes
1 answer

Linux VM crashing while switching to Docker for Linux

While using DockerDesktop on an EC2 Windows2019 server instance, when i am switching to Linux Containers, I am getting the crash error message for my Linux container. Its mostly because, it is unable to start the Linux VM, which would act as a host…
Aman
  • 159
  • 2
  • 15
0
votes
2 answers

The user option doesn't seem to work when running linux containers on windows server 2019

I have this Dockerfile: FROM ubuntu:bionic RUN mkdir /usr/custom ADD script.sh /usr/custom RUN chmod =rx /usr/custom/script.sh RUN useradd -ms /bin/bash -u 1001 someusr USER someusr WORKDIR /home/someusr where script.sh (it is in the same…
boggy
  • 3,674
  • 3
  • 33
  • 56
0
votes
2 answers

Getting IoT Edge Agent error trying to run a Linux container on Windows host: "image operating system "linux" cannot be used on this platform"

I am trying to create an Azure IoT Edge device on a Windows host, but running a module built as a Linux container. In a previous experiment, I was able to successfully create an Azure IoT Edge device on a Linux host, and successfully running this…
0
votes
0 answers

Access local host entry URL in the windows from Linux docker container

I have a node JS express app running on Linux container. The node JS app inside the Linux container is making API calls to a URL hosted in the host machine (A URL hosted in Windows IIS). But I'm getting the following error while making API call…
0
votes
0 answers

Accessing website hosted in a linux container from windows host

I have a linux container based on latest ruby image hosted in my windows laptop. I have a sample website running in the container. I can confirm that the website is running fine because running curl http://localhost:4000 with in the container…
Martin
  • 644
  • 5
  • 11