Questions tagged [containers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

docker logging container not reading docker logs

new to docker.... so got a few containers running and i want to run a logging container to collect all the logs up and send them to Rapid7. the rapid7 container is working as its sending stats to ...
1
vote
1answer
44 views

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 ...
0
votes
0answers
6 views

Persistent storage failure or Authorization Failure after Mongocontainer restart using docker-compose rebuild after Machine restart

I have set up a mongo container connected to a nodejs app. First I do docker-compose up --build where I start mongo as a service without auth, i.e commented out. Then I login to the mongo terminal ...
1
vote
0answers
22 views

What is the differences between to install docker-compose by binary or by pip install

We have two option that we can use in order to install the docker-compose We already installed docker , and now we want to install docker compose on production environment One option is by binary ...
1
vote
1answer
35 views

How are Unikernels different from Containers?

Unikernels are a new thing and I am having trouble understanding what their use cases are. Any use case I can think of is already served by the existence of Docker Containers. So what are Unikernels ...
0
votes
0answers
16 views

How to set IPv6 network for connecting to remote host inside local docker container?

Note: The IPv6 address in this question isn't the real IP. There are two servers node1(IPv6: 123a:a4b5:0102:t234:cd90:3:0:2) node2(IPv6: 123a:a4b5:0102:t234:cd91:3:0:2) On the node1, installed AWX ...
2
votes
3answers
230 views

AWS Cloud9 Building Docker Image Fail

I'm quite new to networking and server management so thank you in advance for your patience. Currently I am learning how to build a docker image on AWS's Cloud9. The tutorial I'm following is from ...
0
votes
0answers
18 views

How to check if network is available from a AWX running container to a LDAP server?

I want to connect to a LDAP server from an AWX installed server. Used docker-compose installed AWX. So it's running inside container. I can ping LDAP server IP from the server running AWX container. ...
0
votes
0answers
27 views

Traffic redirection to a container

I have a tunnel interface tunl0 with few IP addresses, in the same host, there is a container. The container has an interface eth0 and many IP addresses in it. Each IP in the eth0 interface of the ...
0
votes
0answers
15 views

NGinx stop serving after configuring HTTPS

I am creating a Nginx server on a Docker container. This container is for automated testing, and I am running E2E tests against it. I have enabled HTTPS configuration with self signed certificate ...
0
votes
0answers
15 views

Nginx docker container stops working

First time working on Nginx and cant find why my container suddenly stops working. I use the nginx image from docker images and before enabling https it was working without issues. This is the nginx....
0
votes
0answers
6 views

Azure Docker Public API empty result

I have an API Service running inside a container that is set to public. The FQDN and the Port number is set in the azure configuration. Here is my creation command: az container create --resource-...
0
votes
0answers
15 views

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 --...
0
votes
2answers
60 views

Azure Container Instance - Support for Hybrid Connection

We're looking for a way to run a Docker container that needs a connection to an On-Premise database. This was previously done using a Hybrid Connection with a Web App. Does Azure Container Instances ...
0
votes
0answers
50 views

program runs on windows server but crashes inside container. exit status: -1073741502

I have a program that runs just fine on a Windows 2019 Datacenter Server: WindowsProductName : Windows Server 2019 Datacenter WindowsVersion ...
0
votes
0answers
16 views

Run script only when docker stops

I want to run script when my docker stops. I implemet it by trap SIGTERM. It works perfect, but when I restart the container the script is running too. (I guess restart does 'stop' and 'start'). I ...
0
votes
1answer
26 views

How to give docker container access to each others?

So far I made 2 docker container using Docker Engine and Docker Compose for a CI proof of concept. The first one is Jenkins and the other one is Gitlab CE. Here are the version Docker version 19.03....
0
votes
0answers
21 views

Does a docker container dynamically allocate memory whilst running?

With a Docker container, I am trying to find out potential memory use. I can see that I can set memory limits with various settings like --memory --memory-swap etc at https://docs.docker.com/config/...
0
votes
0answers
10 views

Can I use packer to build my big windows container images or not?

The docs are unclear to me: https://packer.io/docs/builders/docker.html At the top of the doc it says: Please note: Packer does not yet have support for Windows containers. But then on that same ...
0
votes
1answer
43 views

When should we use containerized application on Linux

I would like to create a Linux server but I'm stuck on one question: How to know when I should use Docker or Lxc for a given application instead of installing it natively ? For example, on my server ...
1
vote
0answers
399 views

How to bind a podman container to specific host IP

I need to setup a ssh server (actually a git repo) inside a podman container. The host system has sshd already running on port 22. I am creating a pod with following command: # podman pod create --...
1
vote
1answer
149 views

docker | unknown environment `bash` | sub process /usr/bin/dpkg returned an error code(1) [closed]

My goal is to get a docker container running with nordvpn installed and connected. Get docker container going sudo docker pull ubuntu:latest sudo docker run -it ubuntu bash // now im in the docker ...
0
votes
1answer
60 views

Can I set 3 containers in a K8s pod, with each one writing in its own volume?

I want to set up a service in a Pod, composed of 3 different containers. In this container, there is a process that need to write in a file. The 3 containers write the same thing at almost the same ...
0
votes
1answer
56 views

Can I use different container runtimes in a single cluster?

I was looking into different container OS (K3OS, CoreOS, Talos...) and I see that they all come with different container runtime. I was wondering if I can use different container runtime on different ...
1
vote
1answer
136 views

How to forward packets not destined for linux host to container

I am trying to do some traffic inspection on a lxc container in my host machine. My host machine is connected to a mirror port and being sent duplicate copies of the traffic of 4-5 other machines on ...
0
votes
2answers
383 views

Bind mount with systemd-nspawn

I'm playing with systemd-nspawn and I'm trying to enable a container at boot with a bind-mount. I've pacstraped and initialized the system and can start it on the command line as follows: $ sudo /usr/...
0
votes
1answer
86 views

systemd-nspawn environment variables

I created a systemd-nspawn container and set the environment variables in the matching .nspawn file (for example DISPLAY=:0). Upon booting the container, the variables are correctly passed to PID 1: $...
0
votes
1answer
45 views

Can I launch an image inside lxc as a GUI?

I'm completely new to lxc. I've installed lxc and lxd and created a Linux mint container. I'm getting into and out of mint via the CLI, but as I'm messing around with it I'm wondering: can you, say, ...
1
vote
2answers
82 views

whats the point in autoscaling containers

We are using vSphere technologies for virtualization and I am tasked with developing a scalable application infrastructure. I'm familiar more with AWS. Doing some research on scaling I'm not sure I ...
2
votes
1answer
57 views

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 ...
0
votes
1answer
82 views

Transfer files from a non-host machine to a docker container and vice versa

I have a running Ubuntu docker container on a Linux machine. I have a big difficulty everytime when I'm trying to copy a file to/from the docker container from my local machine. I have to copy the ...
0
votes
0answers
159 views

Docker swarm: One container per connection?

How would you implement a system that allocates one docker container per connection? For example, the service receives a connection on port $x. I would like to route that connection to a single ...
1
vote
1answer
118 views

Unable to mount NFS to a container

I need to set up an NFS server for my k8s cluster. I can set it up and mount it to a client running on bare-metal ubuntu but when I try to mount the NFS to a container (the client is an ubuntu 18.04 ...
0
votes
2answers
54 views

How to construct Dockerfile with 2 files and commands?

My app has two files: 1.py and 2.py, and to work i need to run them on two different terminals , like this: 1 terminal: python3 1.py -f text.txt 2 terminal: python3 2.py How i need to construct my ...
0
votes
1answer
163 views

How to assign external DNS name to Docker containers

How do I assign DNS names directly to my Docker containers? This is a fairly broad question so as to avoid an X/Y problem - I'll try to explain what I've done but feel free to suggest another path. ...
0
votes
2answers
81 views

Is a Docker Container good for an application that runs 24/7?

I have a .Net Core Console application that I need to run 24/7. I am trying to decide how to host this application. I am leaning towards hosting this in a Docker Container, as I may like to use ...
0
votes
0answers
32 views

Mysqldump helm chart is unable to upload via ssh. Failing at key authentication ssh

I am trying to use mysqldump helm chart and upload the dump via SSH to a remote server. This was working in my dev environment (SSH upload destination was ubuntu 16.04) but the same is not working for ...
1
vote
0answers
168 views

Docker Compose access specific internet domains/ports without “--net=host”

By default, none of my docker-compose containers have access to the internet. We can expose ports to the host, but not from the internet. Any solutions on the web point me towards using network: host ...
0
votes
1answer
27 views

Google Compule Engine: Running multiple containers

Is there a way to automate creation of a VM instance with more than one container running? I can create a VM with one container running when using gcloud. Basically, is there an easy way to achieve ...
0
votes
0answers
26 views

End user authentication advice

We have a potential security problem in our environment, need expert advice to resolve it. I have docker containers running on Amazon Linux Ec2's and the user authentication happens via a tool called ...
0
votes
0answers
101 views

AWS ECS container communication

How does one properly configure two containers to communicate between themselves on AWS ECS? I've tried Service Discovery for tasks with default and awsvpc network modes. The only way I could make it ...
1
vote
1answer
153 views

How do I use podman to put an entire zookeeper ensemble in a pod?

For testing reasons, I would like, as an ordinary user, to create an entire zookeeper ensemble in a pod where all the individual zookeepers can talk to eachother. As far as I can tell, either all the ...
0
votes
0answers
113 views

assign a public ip to aws container task

I am using aws cluster with EC2 launch type where I an launching the tasks. In FARAGATE cluster we have auto assign public ip option enabled, but in EC2 launch type cluster this option is disabled. I ...
4
votes
2answers
2k views

AWS ECS service not starting any tasks

I've set up a cluster, container, task and service on ECS. After I created the service, it appears to be running with '3 desired tasks', however no tasks are being created as pending or running. ...
0
votes
0answers
73 views

ASP.NET Core Windows Authenticaion on Linux

I run ASP.NET Core web application in a Linux container. I need to provide Windows authentication for my application. How can this be implemented?
0
votes
1answer
192 views

How to detect whether application is running on Azure VM from inside a Windows Container

For this question, here is the situation: Application written in ASP.NET (.NET Framework) is running inside a Windows Container on Windows Server 2016 The application needs to be able to detect at ...
1
vote
1answer
463 views

Append domain to container hostnames in a Kubernetes StatefulSet

I have created a Kubernetes StatefulSet. There are three pods in the StatefulSet with names mysql-0, mysql-1, and mysql-2 each with a single container. If I "log" onto the container in pod mysql-1 ...
0
votes
0answers
188 views

Proxmox assing public ip-address to container

I wanted to assign a separate public IP-address to my container on Proxmox. My Network Interface looks like this: auto lo iface lo inet loopback auto ens3 iface ens3 inet manual auto vmbr1 iface ...
0
votes
2answers
117 views

Docker remote administration tool for non-clustered workers

I am looking to scale a docker application used to perform periodic performance tests on equipment at several remote locations. This application requires running the same performance tests- using the ...
2
votes
2answers
74 views

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 ...

1
2 3 4 5 6