Category "containers"

close curl connection after telnet

What I Want: After a successful connection, I want curl to exit successfully. I am running this command inside a container, so I want the curl command to exit s

docker-compose container name use dash (-) instead of underscore (_)

I always used docker-compose on Ubuntu, in this environment containers are named with underscore: <project>_<service>_<replica> But now, I swi

How to scanning path in docker image from BlackDuck scanning

I'm using BlackDuck scanning use script detect.sh from Synopsys to scan docker image but I don't know how to scan path in docker image. My setting below: ./dete

docker container users/groups: can you actually create and use them in heroku?

I know the official Heroku guidance is "don't use privileged users/groups in docker containers", but what I wonder is, can you even create and use your OWN user

Depends on Fargate ECS

I have container A this container holds my broker service that delivers messages and creates a socket that my other services connect to and then send messages t

Connect WSL2 SQL Server localhost instance from Windows 10

I had setup a WSL2 Ubuntu. Now I am running a local SQL Server instance on the 1401 port using Docker. Container port: 0.0.0.0:1401->1433/tcp I would like

Edit runscript of singularity .sif container after building

I have build a singularity container and uploaded it to my HPC service. Is there a way to change the runscript of the .sif file without rebuilding the whole con

How containerd copy a file from host to a running container?

I find that I can use ctr snapshot mount to copy a file from a container to a host. But how can I copy a file from a host to the container using containerd? I u

Flutter UI - Container Border Margin interface Issue

I've been trying to work on my ecommerce homepage, as you can see from the screenshot I'm trying to fix the categories icon position in my Homescreen though it

Provide files for kubernetes job

I am trying to create a Kubernetes job, that would run from some machine. I would like that job could somehow copy files from this machine into container runnin

Access Azure Instance Metadata Service (169.254.169.254) from Windows docker container

Azure VM can query the Instance Metadata Service located at 169.254.159.254 for data. However this does not work from within a Windows container running on the

Allow non-root user of container to execute binaries that need capabilities

I need to run a container as non-root user by default. However a specific process inside this container needs to execute a binary that needs cap_net_admin capab

pm2 command not working from a docker image

I have a pm2 command in my docker file which should run inside container when the container starts: CMD ["pm2", "start", "ecosystem.local.json"] CMD ["pm2", "lo

Setting the LOGGING__CONSOLE__FORMATTERNAME in aspnet6.0 image

How do I set this environment variable when I run a .NET 6.0 docker file? I have a docker image based off aspnet6.0 Docker file. By default the environment vari

Not able to create a docker image for splash scrapy app python?

I am using scrapy-splash to rendering javascript in web scrapping. So, splash run in a separate container. see here https://splash.readthedocs.io/en/latest/inst

Why I can't see pause containers in GKE containerd CRI?

I am using a GKE cluster with Ubuntu nodes & containerd as CRI. I am not able to see any pause containers the way we used to see in docker. Are they no more

how to run docker container with external application properties file?

How to run docker containers with external application properties files? & how to add properties file into the docker volume ? how to mount the volume with

Copying files with execute permissions in Docker Image

Seems like a basic issue but couldnt find any answers so far .. When using ADD / COPY in Dockerfile and running the image on linux, the default file permissio

Text Overflow inside container creating design such as messenger messages in which text is inside container in which height and width not mentioned

I want container to maintain its height and width according to the text without the text overflowing such as if there is small text width is small but if text i

How to delete all the pods which are in Error/Init/CrashloopBckoff state at one shot

I have tried below command. but this command gets all the pods which are not running for some reason any other way to do this kubectl delete pods -A --field-s