Questions tagged [containers]

A container is a class, a data structure, or an abstract data type whose instances are collections of other objects. Containers typically make use of generics or templates so that a wide variety of objects can be added.

Containers are available in most programming languages, allowing programmers to store, transfer, and read back data within a program. Common containers include arrays, lists, queues, stacks, sets, and maps, each providing different levels of efficiency for tasks such as adding or removing elements, searching for elements, or iterating through elements.

11206 questions
3
votes
1 answer

Azure Functions can be containerized. What is the use case for it?

Azure functions can be containerized but what are the actual use cases for it. Is it portability and ease of running it in any Kubernetes environment on prem or otherwise? Or anything further?
GilliVilla
  • 4,998
  • 11
  • 55
  • 96
3
votes
1 answer

Container instance IAM role vs Task execution role

What is the difference between ECS's Container instance IAM role and Task execution role ( I know task role concept but confused between Container instance IAM role and Task execution ). Thanks in advance.
Arghya Roy
  • 429
  • 3
  • 13
3
votes
0 answers

Dockers NET I/O stats for host network mode

I want to benefit from the enhanced performance that --network host can provide, but at the same time is crucial for me to know how much traffic was generated by the container. I used to use docker stats for this, but it's always 0/0 for the NET I/O…
jumpy
  • 317
  • 1
  • 12
3
votes
1 answer

Container with 3 borders and radiuses

I'm looking for the way to create rounded container with only topLeft and topRight radiuses and without bottom border. Here is what I tried: Container( decoration: BoxDecoration( …
Bitlejuce Do
  • 163
  • 3
  • 14
3
votes
2 answers

K8s to pull private image from Github container registry (ghcr) using GITHUB_TOKEN

Is it possible to pull private images in Github Container Registry using GITHUB_TOKEN? If so, what do I need to configure in k8s? Thanks!
Joseph Y
  • 81
  • 1
  • 9
3
votes
1 answer

curl: (56) Recv failure: Connection reset by peer in golang with docker

I am dockerized a golang application and i am trying to access the application. Application running in port 8007 I am running the container the following command docker run --name sample_go_app -p 7000:8007 sample_go After tried curl…
Amjed saleel
  • 348
  • 1
  • 3
  • 15
3
votes
1 answer

remove line between two container flutter

I have 2 containers, but in the middle of 2 containers there are unwanted lines, how can I remove them? Column( children: [ Container(height: 30, color: Colors.white, ), …
Rohmatul Laily
  • 371
  • 3
  • 15
3
votes
1 answer

Docker on RHEL 8 creating files and folder with 027 permission

I am running nginxinc/nginx-unprivileged:stable-alpine docker image on RHEL 8.8 server. when docker container starts its creating directory and file with umask 0027. But my docker 20.10.17 daemon running with Umask of 0022. my server default umask…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
3
votes
0 answers

Rancher desktop unable to pull an image from Docker

I have downloaded and set up Rancher Desktop with nerdctl but I am unable to pull any public image from the Docker Hub. I am receiving an error: INFO[0011] trying next host error="failed to do request:…
David Sagang
  • 317
  • 1
  • 6
  • 24
3
votes
3 answers

VB.NET (or C#) creating a Dictionary from an existing List without looping

I don't know if this is doable, maybe with Linq, but I have a List(Of MyType): Public Class MyType Property key As Char Property description As String End Class And I want to create a Dictionary(Of Char, MyType) using the key field as the…
vulkanino
  • 9,074
  • 7
  • 44
  • 71
3
votes
0 answers

Microsoft-Windows-Winsock-AFD events unavailable in Windows container

I'm trying to get socket connections data for analysis from the Microsoft-Windows-Winsock-AFD publisher on both Windows host machine and docker container. But it seems like that these events are unavailable on container environment whilst it's…
3
votes
1 answer

How to type-hint that container subclass always contains particular type?

I'm struggling to get type-hinting to work as I would expect regarding the content types for custom container subclasses in PyCharm. Let's start with a case that works as I would expect. You can create a subclass of list and specify that it will…
JustinFisher
  • 607
  • 1
  • 7
  • 10
3
votes
1 answer

If you have a pod with multiple containers and one triggers OOMKilller, does it restart the entire pod?

Trying to plan out a deployment for an application and am wondering if it makes sense to have multiple pods in a container vs putting them in separate pods. I expect one of the containers to potentially be operating near its allocated memory limit.…
Sakeeb Hossain
  • 662
  • 5
  • 19
3
votes
1 answer

docker container didn't send any data

running docker build -t . then running docker run -p 8080:8080 logs to console that it works but 127.0.0.1:8080 does not display the client Dockerfile: FROM rust:1.60.0-slim-buster WORKDIR /app COPY . . RUN rustup…
apinanyogaratnam
  • 628
  • 7
  • 14
3
votes
4 answers

Java list best practice

I need some container to keep elements so, if I'll try to get the size()+i element, i'll get element number i. Or with iterator, which starts from the beginning of container after it tries to get the last element? What are the best practicies in…
Deepscorn
  • 822
  • 10
  • 22
1 2 3
99
100