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.
11,319
questions
0
votes
0
answers
17
views
How I keep the change of variable only on variable and then update the container latter
I made data model and init with problem list
import SwiftUI
import Observation
import SwiftData
@Model
class Question: Identifiable {
var id : String = ""
var main: String = &...
0
votes
0
answers
9
views
Responisve Layout but mantaining 1:1 ratio on specific DIV?
I am wondering if there is a possiblity to make my layout responsively stable, meaning that each DIV in a Wrapping DIV will take certain amount of space, no matter the zoom, meanwhile I'd like one of ...
0
votes
1
answer
27
views
Filebeat | can't pass logs from two differenet paths
I am trying to configure the filebeat agent on the k8s cluster to ship all the logs to elastic from two different paths:
/var/logs/containers/*.log
/var/logs/agents/*.log
I tried writing the config ...
0
votes
0
answers
11
views
How should I set up docker container to run Nmap on a kalilinux image?
I want to run a Docker container with a Kali image and install Nmap.
The installation of Nmap in a docker container wasn't a big problem, but running a scan took about 15 minutes. I received a list ...
0
votes
0
answers
13
views
Reactjs container with readonlyrootvolume true in aws fargate taskdef is not working
I have a ReactJS UI container with the readonlyrootvolume flag set to false. However, according to AWS Security Hub complaints, the flag is supposed to be true. Therefore, we updated ...
0
votes
0
answers
28
views
InfluxDB unable to write to CSV file
I use Inflluxdb 1.6.4
I use a Python script to send a CSV file to an Influx database. The script runs without errors, and when I check the logs of the InfluxDB Kubernetes container, it shows that it ...
0
votes
0
answers
10
views
failed to deploy a stack: service "ABC" depends on undefined service XYZ: invalid compose project
I tried searching this error and all the other people complaining about it seemed like they had simple issues (referencing container X when the container is actually named Xyz, etc), but I've been ...
0
votes
0
answers
23
views
chrome not reachable - session not created: Chrome failed to start: exited normally
I'm getting following error when trying to run tests using nightwatch on docker container (amazon linux 2):
**
Docker Image**: public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:5.0
Error
agent_1 |...
-2
votes
0
answers
27
views
the WAF detact the proxy container keep sending HTTP.URI.SQL.Injection , Cross.Site.Scripting to attack the GCP bucket [closed]
these content maybe has grammar or word incorrect , because i am not english native speaker , thanks for your attention and help.
background :
my website is prepare migrate to cloud now that we have ...
-1
votes
2
answers
44
views
CSS Content Dısappearing on Zoom In [closed]
https://github.com/KaanAlper/Discord-Card
On desktop browsers I can use it up to 125%, after that the content disappears.
In phone nothing is visible directly
I tried deleting the container and ...
0
votes
1
answer
21
views
Deploying Container Group from Azure PowerShell
I am following the guide from Microsoft for deploying a container with sidecar for HTTPS access here. However, I am trying to use one of my images, which I already pushed to ACR. I followed all the ...
0
votes
1
answer
62
views
In C# what is the best container for objects so that they can be accessed via unique id or non unique label?
I have a struct that has, among other members, an id and a label. The id is unique but the label isn't. I would like to access a container of these objects by id (getting a single object) or by label (...
0
votes
0
answers
30
views
How to set the container storage location for Azure DevOps Server?
We are using Azure DevOps Server 2020 Update 1.2. I am trying to run a container based pipeline. I did some initial testing w/ a very small container and it worked fine. The real work I need to do is ...
-1
votes
2
answers
51
views
How to share docker containers between machines
I have a container that has a wordpress website and one with MySQL, I need to share this docker with a friend of mine so that he and I have the same development environment. How would it be possible ...
0
votes
0
answers
37
views
Can't connect to local MySql database from the containerized Asp.net Core Application [duplicate]
I have a simple asp.netcore 3.1 project and I have built the image for the same. This image is running locally on machine and when I have tried to access it is working fine.
FROM mcr.microsoft.com/...
0
votes
1
answer
62
views
I can access docker.sock in Ubuntu, but not in Docker Desktop Windows [duplicate]
I want to set up CICD with docker and Jenkins on Windows with Docker Desktop and run docker commands from the Jenkins container. As I understand it, one way to do that is to expose the hosts docker ...
0
votes
0
answers
24
views
How to separate init container logs from regular container logs to use for fluent filter [closed]
I am working on a use case implementation where I need to distinguish init container logs from regular container logs in a pod object?
We are capturing logs in a directory (both syslogs and journal) ...
0
votes
1
answer
21
views
Run eclipse-mosquitto MQTT broker docker image and custom paho-mqtt Python clients inside minikube Kubernetes cluster
I want to run an MQTT broker and two clients inside a Kubernetes cluster and be able to send messages back and forth.
Therefore I wanted to use the eclipse-mosquitto Docker image and two custom ...
-1
votes
0
answers
26
views
I want to add two withdrawal methods - flutter - InkWell in defaultDialog [closed]
Get.defaultDialog(
title: "Chose Withdraw Provider".tr,
content: Container(
width: 250,
height: 50,
...
-1
votes
0
answers
16
views
Scaphandre doesn't show correct metrics
I'm pretty new into this.
I need something to read power metrics from a docker container, I found scaphandre, I tried it but it seems it doesn't work(maybe doesn't read anything from the powercap)
...
0
votes
1
answer
46
views
Network DNS between pods in rootless Podman
I am putting my containers in different pods to better organise my application. Here is my setup:
Network: public
Pod1 (expose 80, 81, 443) attached to network public:
NginX Proxy Manager
MariaDB
...
-1
votes
1
answer
16
views
connect ruby app with sidekiq container job [closed]
im new with sidekiq.
i maked a ruby script that publish datas in a sidekiq queue and the job process them.
I want to dockerize this job but doesn't work when i launch the container, the terminal says ...
0
votes
2
answers
52
views
How to stop text from wiping background color with NavigationStack?
New to swift and stuck at the starting line...
I am simply trying to fill the whole background of a page using gradient. I have seen this is possible using ContainerRelativeShape() so have tried and ...
-1
votes
0
answers
16
views
Is there a containerization method for Windows operating system? (independent) [closed]
I have Reactjs web application and also restful api (C++). I want to package them as self-contained and independent. Is there a way to do this for Windows OP?
I tried to package it with Node js pkg ...
1
vote
0
answers
40
views
ping failures with network namespace [closed]
I'm trying understand network namespaces and to that end followed the process in this docker post to create them. I created a test namespace and moved veth-b to that namespace, however I can't seem to ...
0
votes
0
answers
31
views
Connection between containerised springboot application and non-containerised postgres db; both running locally
I have a springboot application (running locally) which connects to postgres db installed locally on my machine.
But when i containerise my springboot application only and run as docker container ...
0
votes
1
answer
57
views
docker compose mongodb container work, but UI can't connect it (timeout)
docker compose bulid mongodb container and it worked.
create db and collection and insert data done.
then, get in this container can find those data I mentioned.
but when I'm using Vscode extensions (...
-1
votes
1
answer
43
views
special characters inside MAKE command [closed]
I am getting an error when I run "make deploy", that "w" is not recognized as an internel or external command while w is a part of the MONGO-URI string, and not a command, this is ...
0
votes
1
answer
44
views
Docker Compose Unsupported Option 'additional_contexts'
I am getting the error:
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.api.build contains unsupported option: 'additional_contexts'
When I try to run docker-compose ...
1
vote
1
answer
25
views
HEALTHCHECK in Dockerfile
Is having HEALTHCHECK NONE in Dockerfile same as not specifying HEALTHCHECK in Dockerfile ?
I can't seem to find any documentation about this. Would appreciate any pointers around this
0
votes
0
answers
24
views
UiAutomator2 in container cannot connect to host port 8200
I am containerising Appium mobile test automation. Everything required is installed:
nvm
node
appium
uiautomator2 driver
flutter driver
Environment variables are all set:
ANDROID_SDK_ROOT
JAVA_HOME
...
0
votes
0
answers
10
views
VS Code: How to connect a same remote container in different local machines?
I have started a container in a remote server and connected it to the vscode. I have another local machine that also needs to connect to the same container in the same way (also use the "attach ...
0
votes
0
answers
29
views
CUDA failed to initialize in docker container, Ubuntu22.04, WSL2
The pytorch code running in container seems not able to access my GPU.
I m running a pytorch mesh generation project, they provided a docker image like
FROM nvcr.io/nvidia/pytorch:23.04-py3
ARG ...
0
votes
1
answer
36
views
Login into server causes podman containers to restarts [closed]
It seems that anytime I log into my homeserver, podman containers are restarting:
❯ ssh [email protected]
[email protected]'s password:
Web console: https://homeserver.localdomain:9090/ or https:...
0
votes
1
answer
37
views
Docker compose up problem in fresh win10 machine
I have problem in run command:
docker compose up -d
failed to solve: archive/tar: unknown file mode ?rwxr-xr-x
on win 10 machine, docker version is 4.25.2
perhaps, when I run the command:
docker build ...
0
votes
1
answer
48
views
run rails console when i launch docker run
actually im working on docker with ruby.
I have a script that i want dockerize, but this script need to be run on rail console for process datas and stay in tunning state for a lot of time.
When i try ...
0
votes
1
answer
30
views
failed to obtain node locks, tried [/usr/share/elasticsearch/data];
i am trying to run an elasticsearch container inside an aws ecs fargate task (container). i have mounted an efs volume on container and want to map /usr/share/elasticsearch/data of elasticsearch to ...
0
votes
0
answers
40
views
Kaniko executes Dockerfile instructions within the ci image
I have copied the kaniko executor from the gcr.io/kaniko-project/executor:debug in our custom image, our ci image looks like below
FROM gcr.io/kaniko-project/executor:debug AS kaniko
FROM custom-...
0
votes
1
answer
54
views
Terraform AWS communicating between ecs_tasks and ecs_services containers
I have a deployment of three ECS Tasks/Services, basically a web app, nginx proxy and a postgres database all in ECS Fargate containers. I have tried pursuing several different ways to get the app ...
-2
votes
1
answer
32
views
Docker Compose up not detecting changes in code
I have a Dockerfile and Docker composefile as below.
My Dockerfile
FROM ubuntu:22.04 as build-deps
RUN apt-get update \
&& apt install -y nodejs \
&& apt install -y npm
COPY ....
-1
votes
1
answer
44
views
How do I prune images with verbose output with Docker? [closed]
I am looking for a way to print extra information and activity during Docker prune operation. I can't find any real info on the new. Is there a way to print verbose information about the pruning ...
0
votes
0
answers
53
views
container exits with code 139 on my mac os M1 machine
i am running a container on my mac os M1 machine but it exits with status code 139. I have added the --platform linux/amd64 flag but still no luck.
this is the command im running
podman --log-level=...
-1
votes
1
answer
26
views
nginx reverse proxy not finding backend service in docker-comopse
I have the following docker-compose.yaml
version: '3'
services:
webapp:
image: example/webapp
build:
context: app
restart: always
ports:
- ":8181"
deploy:
...
-1
votes
0
answers
48
views
How to run kata containers with systemd?
I am trying to run kata containers with systemd using containerd on my ubuntu 22.04 machine, but I cannot manage to make it work. My expectation is to be able to run all the processes inside the ...
0
votes
0
answers
38
views
redis.exceptions.ConnectionError on connecting to redis server in container
I have created a Dockerfile with following contents
FROM alpine
# Run commands to install additional software
RUN apk add --update redis
# Specify command to run when the container starts up
CMD [&...
0
votes
0
answers
28
views
Volume issues in Docker: Jupyter and Postgres in docker-compose
I'm using Jupyter and Postgres via Docker Compose. However, when creating the container, the host volume mapped to the container's directory /home/jovyan/work is not available for access. I tried ...
1
vote
1
answer
40
views
How to get config-file specified in application.properties running docker
I have my application.properties where I specified the path of my config file. I need to read this file during the runtime.
app.config = myApp/myConfig.conf
The file is in the root directory of my ...
0
votes
0
answers
40
views
Issues running Rasa Chatbot on Docker container
i have issues initializing new rasa chatbot.I run ubuntu 22 and this is my docker compose and the output from the docker compose up command.
https://i.stack.imgur.com/1cZwL.png
https://i.stack.imgur....
0
votes
0
answers
19
views
How to measure the maximum memory usage of a container?
I am a programming novice, currently undertaking the development of my own online judge system as a personal project.
My goal is to retrieve memory usage data following a user's code submission. ...
0
votes
1
answer
28
views
ADB on docker container does not read Android device connected to host
So short story long, I want to containerise my Appium android automation tests. I have downloaded all the required tools on the container:
nvm
node
appium
uiautomator2
android-sdk
android-tools-adb
...