Questions tagged [containers]

436 questions
2
votes
2 answers

lxc-net doesn't like static ip for a bridged container

I've just started to use LXC containers and I found that even if I set a particular ip address on lxc container config file, lxc-ls --fancy shows always another ip, which is pingable and the /etc/network/interfaces settings doesn't override lxc-net…
JumpAlways
  • 143
  • 3
  • 9
2
votes
1 answer

systemd-machined not found in debian systemd package

I have a docker container running a very bare version of debian stretch. with this, I have to install systemd externally first. To do this, I have a docker container that runs the install, then I commit it to an image, I then run systemd from that…
Christian Grabowski
  • 559
  • 1
  • 5
  • 18
2
votes
0 answers

Managing many separate docker hosts at remote sites

I'm looking for Docker orchestration software to manage containers running on a variety of remote hosts. These hosts are at the other end of a high latency and bandwidth restricted link, and are (and must remain) independent in operation from each…
Kirby
  • 21
  • 2
2
votes
1 answer

Can not start a Docker container

I Built an image using flask, nginx and uwsgi. FROM ubuntu:14.04 MAINTAINER Ali Mezgani RUN apt-get update && apt-get -y install python python-dev python-pip RUN apt-get -y install supervisor RUN apt-get -y install …
Ali Mezgani
  • 3,850
  • 2
  • 24
  • 36
2
votes
2 answers

Howto expose port in docker container

I’ve run a web service in a docker container on a custom port (8080). Here, I’m trying to run a container, exposing the relevant container’s port (as seen here), but the no avail. docker run -p 127.0.0.1:8080:8080 beatthemarket run wait But I can’t…
Frye
  • 253
  • 2
  • 3
  • 11
2
votes
2 answers

no network in nspawn container

I'm having an issue with networking in a systemd nspawn container. I have enabled the -n / --network-veth option in the systemd-nspawn command. This has worked a few hours ago (I know that because I downloaded some stuff). However, I did some things…
Yorrd
  • 143
  • 1
  • 5
2
votes
1 answer

How to say when a service (any service) is available on a specific remote port

I'm using docker and docker-compose to compose a service which is a combination of several others. As the inner services are serving each other, there's a predefined priority by which they must be started. The easiest way I found to do this, is to…
Mehran
  • 519
  • 1
  • 5
  • 20
2
votes
1 answer

Executing Cuda script in LXC container results in "cuda error: no CUDA-capable device is detected"

I followed the following instructions in order to set up Cuda inside an LXC container. When I try to execute the sample ./deviceQuery script inside the container following error is returned: $ ./deviceQuery ./deviceQuery Starting... CUDA Device…
Greg
  • 1,657
  • 5
  • 27
  • 38
2
votes
1 answer

Running multiple ubuntu (or other distro) inside Docker containers on CoreOS, is this efficient?

From what I have read I believe CoreOS to be a bare-bones Linux distribution which essentially facilitates running Docker containers that contain any applications or services that you require. From the CoreOS documentation I gather that the…
rgvcorley
  • 133
  • 6
2
votes
0 answers

LXC containers act differently on difrent servers

I have two physical servers A and B. I wanted to upgrade them from Ubuntu 12.04 to 14.04. Here is my current setup (if I'm left out any info here, let me know and I'll add it): Server A: Ubuntu 12.04 ext4 on RAID and LVM lxc 0.75 Server…
zidarsk8
  • 394
  • 1
  • 3
  • 12
2
votes
1 answer

Can a Docker container uses the full CPU power and memory of the host OS?

I am new to Docker, but I have experience of using VM and hypervisor. Referring to Docker introduction and this image, Docker containers are isolated but share the same host OS. If we deploy only 1 Docker container (e.g. LAMP app) in a host OS, can…
userpal
  • 613
  • 4
  • 10
  • 17
2
votes
1 answer

Why "Skaffold" creates 2 different images for each container?

I have a Skaffold file like this: apiVersion: skaffold/v4beta1 kind: Config build: artifacts: - image: app/auth context: auth sync: manual: - src: src/**/*.ts dest: . docker: dockerfile: Dockerfile And…
best_of_man
  • 367
  • 1
  • 3
  • 12
2
votes
1 answer

kubernetes - assign individual storage to each replica in statefulset

I am running a statefulset in my cluster and am trying to assign each of the replicas (3 in total) to assign their own PVC. Unfortunately, I can only provide 1 name as claimName. How do I make sure each starting pod grabs it's own pvc? The pods I am…
realShadow
  • 71
  • 1
  • 10
2
votes
2 answers

Running amd64 UBI9 images with podman on Apple Silicon

I'm trying to run an amd64 UBI9 image on Apple silicon with Podman. Podman provides a Fedora CoreOS VM to run containers in. It allows for installing qemu binaries to run "foreign architecture" containers. Problem is, the architecture of the UBI9…
wzzrd
  • 10,409
  • 2
  • 35
  • 47
2
votes
0 answers

CredentialRetrievalError within ECS container

Problem I have deployed an ECS cluster and am running a job orchestration platform on the cluster. One of the containers of this platform uses the python docker api to pull a container from our private ECR repo and execute a job within the…