Questions tagged [containers]

436 questions
3
votes
1 answer

How to restart a single container in AWS ECS Task Definition

In my AWS ECS Cluster, there is one service running two tasks. Each Task has 5 containers. Two of them are not essential. Among these two, one of the containers fails some times, but I am not sure how to restart the single…
Ariful Haque
  • 171
  • 1
  • 2
  • 6
3
votes
2 answers

nsjail process does not have network access

We run our java software builds on Linux docker containers and I modified our integration testing pipeline to wrap the test execution inside nsjail, this looks something like this: nsjail -Mo --chroot / --user root --group root --disable_rlimit --…
Boris Terzic
  • 151
  • 1
  • 4
2
votes
1 answer

Linux + docker container folder that mounted to OS volume + how to know the real limited size

inside the docker-compose.yml we configured the following volume image: confluentinc/cp-kafka:latest volumes: - /grid/kafka-data:/var/lib/kafka/data . docker-compose ps Name Command State …
shalom
  • 461
  • 13
  • 29
2
votes
2 answers

Deploy hundreds of thousands of short lived jobs per day

I have a system that needs to deploy hundreds of thousands of short-lived jobs per day. Each job runs anywhere from a few seconds, to a couple of hours. Each job makes HTTP requests to external web servers, writes data to disk (anywhere from a few…
2
votes
1 answer

A good reason why docker containers shouldn't use standard ports?

I don't have much practical experience with containers, yet I see a lot of people using alternative ports to deploy their services. As a consequence, here's a very basic question: Is there a good reason why in docker containers we should avoid…
mapto
  • 121
  • 5
2
votes
1 answer

How can I improve create/launch time of an Azure Container Instance?

I keep reading that Azure Container Instances can be "spun up in seconds". However, my tests have shown that even the simplest (smallest) containers are taking around 45 secs to launch. Is this typical? This container launches on my desktop pretty…
dommer
  • 378
  • 1
  • 5
  • 14
2
votes
2 answers

Move LXD container to other storage

I have an issue with my current storage.img file (btrfs). I had 2TB data inside a container and so the storage.img got 2TB large. After this I deleted everything, leaving me with 100GB of real data. The problem is now, that the storage.img did not…
Amon Bune
  • 63
  • 1
  • 6
2
votes
1 answer

Encrypted or Password Protected Docker Container

I have some Docker containers. I want to login the containers with a password. Is it possible? If it is not possible then is there way to encrypt some folders in Docker? I have tried rkt as well. I could not manage to enable the password protection…
user454491
  • 21
  • 1
  • 2
2
votes
1 answer

How/where to get the ssh keys used when creating an aks cluster with "--generate-ssh-keys" option

We have created a AKS cluster using az aks create .... --generate-ssh-keys ..... How/where can we find the SSH keys that were generated, so we can use them? Thankx
JoaoCC
  • 295
  • 1
  • 3
  • 8
2
votes
2 answers

Apache won't run inside container

I am running Arch Linux and on top of that, Ubuntu inside a systemd-nspawn container. I am suddenly having issues getting apache to start (inside the container). Everything was working fine a few days ago, but now it's not. I don't know if an…
gen_Eric
  • 211
  • 1
  • 5
  • 17
2
votes
0 answers

Multi-Tenancy (Multi-user) GPU Container Infrastructure Solution

What we need: Several teams from different companies want to share our GPUs for deep learning tasks (three computers with several GPUs each). So manage multiple GPUs for multiple users. Different teams should not have access to the data of other…
2
votes
0 answers

Find out CPU and memory usage percent of Docker container within its running environemt

Does anyone know how to get resource consumption of a specific Docker container within its running environment? Outside of a container, we can get it easily by typing a command "docker stats". Besides, if I try to get resource consumption inside a…
2
votes
1 answer

LXC container not connecting to bridge on startup

I'm struggling to get an lxc container to startup with proper networking. /etc/network/interfaces: auto lxcbr0 iface lxcbr0 inet static address 192.168.5.69 netmask 255.255.255.0 bridge_ports eno1 bridge_stp off …
whatsisname
  • 291
  • 1
  • 3
  • 8
2
votes
1 answer

How to set max file descriptors for a container?

I want to run elasticsearch in a container (namely nspawn) and it requires the number of max file descriptors to be higher than the default 1024. This is done, in the container, in the systemd service file appropriate for elasticsearch. This request…
WoJ
  • 3,607
  • 9
  • 49
  • 79
2
votes
1 answer

Is the attack surface of Docker vs. LXC/systemd-nspawn significantly different?

One decision point in choosing between and application container solution versus an OS container solution is security. I'm not knowledgeable enough to be able to compare and contrast the two. I assume they're different, but is one significantly more…
Jeff_ka
  • 21
  • 2