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

Why is the default certificate store directory missing when I debug my net core app in Visual Studio?

I have a project that I want to debug. I have a use case where I must access a couple of different certs from the CurrentUser.My trust store. I know that linux maps the cert store differently than windows and each distro maps it differently. I also…
0
votes
1 answer

how can I solve lxc container journal mount problem

I have lxc contariner with the line at its own config lxc.mount.entry = /var/log/journal/56abd83f52ed4b53b6bd4c41f3564179 var/log/journal/56abd83f52ed4b53b6bd4c41f3564179 none bind,create=dir 0 0 but they are not synced. the directory in hosts is…
Aref
  • 144
  • 1
  • 7
0
votes
1 answer

Is modifying or adding app settings to azure app service running on linux container will recycle the site

We use containerized .net core applications on linux app service plans. I am trying to figure if any changes introduced to the app settings (modification or add) will cause the app service to recycle. There is a similar question I found here…
0
votes
1 answer

Performance issues with redis connections in docker linux container in .NET 5 application

Earlier I have hosted a dotnet core web application in IIS, the app interacts with Redis using StackExchange.Redis (2.0.601) client For every request, it will make a Redis get & set when throughput is more than 1k calls per minute to Redis on an…
0
votes
1 answer

Debian 11 LXC Container - Not all packages from "apt" avaible

I have a proxmox installation and created a Debian 11 lxc container to install an LDAP server. I want to install "phpldapadmin" with "apt install phpldapadmin". Error: Could not find the package. In a normal Debian 11 VM, I can install it via "apt…
CDOGamer
  • 33
  • 4
0
votes
1 answer

CPU Benchmark (SPEC2006) in Container (How to control number of CPU?)

I wanna run SPEC2006 benchmark in Container. So I installed SPEC2006 and I checked it is running well. I want to create a container with 1, 2, 4, 8 CPUs and run benchmarks in each environment. But I setup the CPU number as 2 but I checked 8 CPU is…
0
votes
1 answer

Azure storage account fileshare contents retention period

I have a Linux container web app in Azure. I have configured the logging path to the Azure storage account file_share path. Since my application will be dumping more logs and I need to delete the files older than X size or X days. I can see the…
0
votes
1 answer

Mounting volumes from linux container to windows container

I have docker on windows running a Windows container but also running Linux container. I'm having a problem mounting volumes from Linux container to Windows container. Given the sample below. services: postgres: platform: linux …
rpmansion
  • 1,964
  • 1
  • 9
  • 26
0
votes
1 answer

IP's binding address in redis.conf within Linux Container

in Ubuntu 20.04 I created a Linux Container that I called "ubuntuone", with Ubuntu 20.04 as well. In the Linux Container I installed Redis, but I get Could not connect to Redis at 127.0.0.1:6379 (base) raphy@pc:~$ lxc exec ubuntuone --…
Raphael10
  • 2,508
  • 7
  • 22
  • 50
0
votes
1 answer

How to run 3 commands in one line in a docker

I try to run this command but i always get the message /bin/sh -c git clone https://github.com/lordLegal/Test-repo.git; pip3 install urllib3 ; python3 -u /Test-repo/while.py I also tryed the same thing with && instead of the ; in the command but i…
0
votes
2 answers

Docker Service stops when I log out from Windows

I am trying to implement OSRM as a service on Windows server 2016. I installed Docker Community Edition 17.06.0-ce-win18 2017-06-28 and implemented OSRM as a service. But the issue I want to refer is: The service stops when I log out from the…
SudarshanK
  • 108
  • 14
0
votes
2 answers

How to Install .netcore sdk in azure batch node

I have .net core Console Application, which prints a basic hello world message. I have published my application to azure container registry. my Docker File: FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim AS base WORKDIR /app FROM…
0
votes
1 answer

lxc option "--" when calling lxc-start / lxc-create

What is the significance of -- in the command line of commands like lxc-create or lxc-start. I tried to use Google in order to get an answer but without success. // Example 1 lxc-create -t download -n u1 -- -d ubuntu -r DISTRO-SHORT-CODENAME -a…
respect99
  • 63
  • 1
  • 7
0
votes
0 answers

docker port publish (remapping) doesn't work for http port

I created an asp.net service, exposing a webservice at 3188. It uses Kestrel server. I published this via Linux container on local machine, with port mapping as 5188:3188. I cannot access this, http://localhost:5188/diagnostics. If I publish on…
AAATechGuy
  • 385
  • 2
  • 9
0
votes
1 answer

Linux container start-up issue in LCOW WS2019: error during CreateProcess: failure in a Windows system call: Unspecified error (0x80004005)

Context: I try to create Linux container from docker file, given below: Build environment: Windows Server 2019 Enabled LCOW on WS2019 per https://sebastiangogola.com/lcow-linux-containers-on-windows/ Dockerfile FROM…
AAATechGuy
  • 385
  • 2
  • 9