Questions tagged [containers]

436 questions
3
votes
0 answers

How to trigger initial login so user slice gets created

I may be taking the wrong approach here, but the new centos 7 implementation of cgroups lets you put limits on user's access to system resources by attaching said limits to their slices. Ie. systemctl set-property user-1005.slice…
Rooster
  • 495
  • 2
  • 7
  • 21
3
votes
2 answers

LXD 2.0 on Debian 8.4

I'm running Debian 8.4 and would like to set-up recently released LXD 2.0. Is this feasible, or should I stick with LXC? It seems all focus is on using LXD with Ubuntu.
Jay
  • 199
  • 1
  • 9
3
votes
0 answers

LXC bridge with several IP addresses

While trying to setup a small server with LXC containers, I encountered a problem: I want to assign 4 different IP addresses: 1 address for the host and 3 addresses in a different net for the containers. Setting up 4 IP addresses using virtual…
user2092982
  • 31
  • 1
  • 1
  • 7
3
votes
1 answer

Why does docker rm take almost 6 seconds to run?

I have a simple docker image based on ubuntu 15.10 that's just running bash. The image is around 1.2gb. It launches very quickly, but when I try to remove the container after it's exited, it always takes around 6 seconds: $ time ( echo "exit" | sudo…
3
votes
1 answer

tutum - docker : hosts file not being updated as per links

I am using tutum to deploy an application that involves web and db conponents. Here are the relevant parts of the tutum.yml file. db: image: 'postgres:latest' ports: - '5432:5432' restart: always volumes_from: - data web: image:…
3
votes
1 answer

Ensure docker pulls most current image

Assuming I have registered a repo at Docker Hub, called MyRepo. Assuming I am working on a Docker image called MyImage. Assuming I have configured Docker Hub to build images from Dockerfiles available in my GitHub repo. Problem: (I usually use the…
3
votes
3 answers

Nginx proxy to many container running on different CoreOS nodes

Surfing the net, I've found many tutorials about proxying to different Docker containers running on the same host, using Nginx/Confd (or Haproxy, or Vulcand). However, what I need to do it's different. Following an overview of my infrastructure: An…
AcidCrash
  • 41
  • 5
3
votes
1 answer

How to list disk space usages of all containers on an OpenVZ server?

I have an OpenVZ server with 46 containers. How do I get a list of all the containers with their corresponding disk usage?
user3180
  • 337
  • 1
  • 4
  • 13
3
votes
1 answer

What's the difference between rootless Docker, running a container as a non-root user, and Podman?

Recently I've been trying to run my Docker application as a non-root user. I've seen there are several options available to me: Install rootless Docker : apparently this is a "non-root" version of Docker that runs containers as users other than…
Klangen
  • 145
  • 1
  • 5
3
votes
2 answers

Error uploading large files (>2gb) through nginx reverse proxy to container

I am running an application in a docker container (https://github.com/filebrowser/filebrowser/) that I am trying to upload very large (>2) GB files to. The container exposes the app on a nonstandard port on localhost which I connect to through a…
BigRed3.14159
  • 31
  • 1
  • 4
3
votes
0 answers

Options to improve container volume mount's SMB metadata operations performance

Question Are there any ways to improve metadata operation performance between a Linux based container running under Azure App Service and a mounted volume hosted in Azure Files? Context I recently migrated a solution which had everything on one…
3
votes
2 answers

How to install xargs in container running openjdk:17-oracle

I'm trying to install xargs in a container running openjdk:17-oracle, but I'm unable to figure our what package manager is present in this image. FROM openjdk:17-oracle RUN apt-get install findutils Throws error: => ERROR [stage-1 4/4] RUN apt-get…
Kurru
  • 155
  • 1
  • 2
  • 8
3
votes
1 answer

AWS ECS Fargate Target Group Failing HealthChecks

The SpringBoot application is running as an ECS Task in a ECS Service of an AWS Fargate Cluster. The ECS Service is LoadBalanced as such the Tasks spawned by the Services are automatically registered to a target group. I am able to call the Health…
3
votes
0 answers

Cannot communicate from host to container and vice versa

I have a GitLab instance running in docker. But I am unable to ping or curl the port 8000. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS …
Athul P
  • 31
  • 1
3
votes
2 answers

"Failed to get shell PTY: Protocol error" for an nspawn container with systemd inside

I create containers with # debootstrap --variant=minbase --include=systemd,iproute2 buster "/var/lib/machines/test" And then I run it with: # systemd-nspawn --machine test Just for testing purposes. The container boot, when I try to access it with…