Skip to main content

Questions tagged [docker]

Docker images, containers, hub, and everything related to the containerization platform

Filter by
Sorted by
Tagged with
1 vote
5 answers
184 views

Automate starting and stopping of multiple containers on single production server

I am doing a project for my university where I have the following requirements: I want to start and stop (docker) containers with different apps I have a singe (university) server to my disposal I ...
0 votes
0 answers
24 views

Kubernetes pods container initialization doesn't finish for Dagster

Installation set-up: I'm trying to run dagster on Kubernetes. I use the default values.yaml file and the only change I'm making is replacing "docker.io" with "registry.hub.docker.com&...
0 votes
0 answers
10 views

Long image rendering time when using Grafana image renderer plugin

The following configuration is available: Grafana and Grafana Image Renderer are installed as separate pods in the same k8s namespace, Grafana has access via Service to the Grafana image renderer pod, ...
0 votes
2 answers
908 views

Arguments in docker_compose.yml throwing error, but not with docker run

I am in some desperate help. I am atempting to translate this docker run command: docker run -d -p 5434:5432 --name postgres-2 livingdocs/postgres:14.4 standby -d "host=host.docker.internal port=...
1 vote
1 answer
3k views

How to caching the docker images?

I try to improve the performance of my pipeline stages in gitlab cicd. The Gitlab is self hosted and the Runner runs as docker with docker executor. I recognized, that for both jobs in my stages (test,...
1 vote
3 answers
4k views

Creating container image without docker

Is it possible to build a container image as a simple user account on a system which does not have docker or podman installed? In other words, is there a user-space tool/application which can build an ...
0 votes
2 answers
130 views

Docker gets stuck when running 16 tests

I'm running my dotnet 7.0 tests using "testcontainers" on windows machine. The tests are parallelized integration tests which use SQL Server inside a Linux docker container. Each test ...
0 votes
0 answers
13 views

Run Docker with same user as on local host and own mounted folders

I have a local folder (code) on my system, which belongs to my user. The local folder path is something like this: - home -- my_user ---- work ------ projects -------- code I want to run a Docker ...
1 vote
1 answer
3k views

bind mount from host not appearing in docker container when using compose

I have a bind mount at /home/quant/mounted_folder with a fstab like this: /mnt/d/some_folder /home/quant/mounted_folder none bind I can confirm that the folder mounts correctly on the host: DESKTOP-...
0 votes
1 answer
80 views

Docker Engine not seeing installed Nvidia runtime

I am using Ubuntu 22.04, I installed docker and docker desktop. After installing the Nvidia docker runtime via the Nvidia docker toolkit, Nvidia runtime is not visible after system restart. I updated ...
1 vote
1 answer
61 views

Github Actions: How to export a variable from within Docker and reuse across steps?

We’re developing embedded software which needs to be compiled inside an SDK container. I’m setting up a CI/CD pipeline so that we can compile, ssh-copy and ssh install it on the remote device. To make ...
0 votes
1 answer
189 views

Unable to connect to minikube from my local

I am facing an issue with running minikube with driver as docker on Macbook M1. There are some network issues that I am running into. I am not able to ping into my minikube from my local machine and ...
-1 votes
0 answers
11 views

Loki cannot get right timestamp from Fluent Bit

I have fluent bit containers that get the file with foward and then send them to loki and also write them to a file with the name of the container. The files are needed in the future as storage since ...
0 votes
0 answers
10 views

Intermittent Firefox Installation Failure in Docker CI

I have a docker image to install firefox, that runs as expected locally but fails intermittently on CI. Firefox doesn't get installed, this is what I am doing. FROM node:20 RUN wget -O firefox.tar.bz2 ...
2 votes
1 answer
1k views

Can't change ownership of folders and files in Docker containers

I am having these two dockerfiles which in both I am adding the command RUN chown -R www-data:www-data /var/www/html to change the ownership to www-data user. The containers seems to build ...
2 votes
1 answer
46 views

Best Way to Call a Service Running in a Docker Container from another Docker Container in the Same EC2 Instance?

Context I hope the following diagram makes it clear, ask if you still need any answer. Basically, the cronjob itself (a container) will run every hour, that needs to use a long running redis service. ...
2 votes
2 answers
4k views

Docker.Core.HttpBadResponseException: {"message":"2 errors occurred:\n\t* provisioning docker WSL distros: deploying

2 years cannot fix error install Docker on Windows Docker.Core.HttpBadResponseException: {"message":"2 errors occurred:\n\t* provisioning docker WSL distros: deploying \"docker-...
0 votes
1 answer
16 views

How to create a private registry in Kubenetes?

I am trying to create a private docker registry in Kubernetes that can be used by Kubernetes to pull images from. Although I have tried many references but none work, so currently I am referring to ...
0 votes
1 answer
159 views

What is best practice for passing files and directories as command line arguments to a containerized program?

I am working to containerize a program. The program requires a configuration file and directories for its operation, which are passed as command line arguments, e.g. something like this: $ myprog -c /...
2 votes
2 answers
1k views

Building a docker container with multiple conda envs

As a novice to the technology I have only a basic knowledge regarding how to build and deploy a docker so i was hoping someone could provide some help. The situation is the following: I need to create ...
1 vote
1 answer
5k views

Docker WWWUSER e "WWWGROUP variable is not set

I just created a project in WLS with Laravel using the command: curl -s https://laravel.build/example-app | bash When trying to use the command docker-compose exec app bash it returns the this error: ...
0 votes
1 answer
228 views

Bypassing OAuth in Traefik router that routes to other network device

In Traefik2, I've got router.toml that contains the following lines: [http.routers] [http.routers.sonarr-bypass] rules = "Host(`sonarr.DOMAIN.com`) && Headers(`traefik-auth-...
0 votes
1 answer
20 views

how to use docker with http protocol to login or pull docker images from local nexus repository?

I have two servers with no internet on them.One of them is my nexus repository with so many docker images on it.As I have no internet on them ,I can't pull any image because of no ssl configured.I get ...
1 vote
0 answers
323 views

Docker: error while creating mount source path

I am new to Docker. I am trying to run a container on MacOS. However, when I run: docker compose up -d --build I get the following error: Error response from daemon: error while creating mount source ...
0 votes
0 answers
15 views

One of my several docker containers was randomly shutdown

I have a docker container which was recently shutdown by itself: The container status is as follows, oddly the other containers were still up. I see that containerd was restarted recently and docker ...
0 votes
2 answers
2k views

How can I map a domain to docker containers?

I have a Redhat Linux server. In that, I installed docker and run docker containers in it. Now I want to map a domain to docker containers by using Nginx. What is the correct process to map domains by ...
0 votes
1 answer
133 views

CICD with dockerized web app

I am having troubles understanding the following DevOps concept. I have developed a dockerized web app using docker-compose. It is in my local and I can upload it to any cloud service I want and it ...
0 votes
1 answer
39 views

How to get all the env variables of any docker image?

I am unable to get all the env variables even after the docker inspect <container_id> command it just shows only this much when I inspected the mongo:4 image. "PATH=/usr/...
0 votes
1 answer
2k views

Can you run chown on a root volume folder in a Dockerfile setup?

I have a docker container with a volume /foo defined in the docker-compose.yml. The Dockerfile then does: RUN useradd -d /home/newuser -m -s /bin/bash newuser && \ usermod newuser -g www-...
1 vote
1 answer
7k views

How do I make my AMD GPU available within a docker image based on python:3.9.10

I'd like to do some machine learning on my AMD 6800 XT gpu within a python image based on python:3.9.10. I can confirm that the GPU is available outside of the image (in a wsl2 instance). However, if ...
0 votes
2 answers
355 views

Deploy multiple instances of the same application Kubernetes

I'm developing a web application in NodeJS and I want to create multiple instances of the same application to deploy it in multiple subdomains of my main domain. I want each instance to have the same ...
0 votes
1 answer
862 views

PROXY is not working inside windows container

I'm using windows containers in windows 10. I've set proxy variables(HTTP_PROXY,HTTPS_PROXY) in environmental variable setup and using VPN. I also configured resources -> Proxies. I was trying to ...
0 votes
0 answers
23 views

I can't reach out the database from my pod

I have two servers A with private ip address 10.1.0.2 and B with private ip address 10.1.0.4 on server A I have a docker container that runs postgres database On server B have a pod that tries to ...
0 votes
1 answer
1k views

can't run default/hello-minikube application in browser

I am new to devops stuff and just started learning Kubernetes. I installed minikube and kubernetes-cli with homebrew and then setup docker drivers minikube start --driver=docker minikube config set ...
0 votes
1 answer
92 views

Set the base path of an Apache proxy handler

I'm developing my application with 2 containers: apache and php-fpm. Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost: <FilesMatch .php$> ...
0 votes
1 answer
448 views

ImagePullBackOff err while pulling docker image in different project in Google Cloud

I am trying to pull a private image from Artifact Registry repo in Google Cloud from a kubernetes cluster running in a different Google Cloud project using kubectl. kubernetes version 1.20.15-gke.1000 ...
0 votes
0 answers
20 views

Gitlab out of memory kills network on VPS

On a VPS (that is not heavily used) with 4 shared vCPU's and 8GB RAM I'm running the following services: Traefik for reverse proxy Portainer for docker management Gitlab, used by 5 people Grafana ...
0 votes
0 answers
11 views

bulding docker image for an arm32v7 processor

I managed to build a working docker image on my development laptop, but got an exec format error when I tried to run the docker image on the PC that the container shall run on. My dev PC is an ubuntu ...
0 votes
0 answers
17 views

How to remove a Docker builder when the UI and command line fails?

I've also uninstalled Docker Desktop and reinstalled Docker. When I try to run fin mutagen start I get Error: project already running. Mac OS 14.5 Docker DeskTop 4.30.0
2 votes
2 answers
6k views

Send command to docker image while start in Jenkins file

In scripted Jenkinsfile if I need to send a command to Docker image, I can do like this: docker.image('mysql --default-authentication-plugin=mysql_native_password') How can I do the same in ...
0 votes
1 answer
188 views

How to see the full command used to run a container in a Kubernetes pod?

In Docker we can see the full command used to run a container using docker ps --no-trunc In case of containers inside pods in a Kubernetes cluster, how to find this same info? I also tried to ...
0 votes
1 answer
17 views

How do Istio Gateway ,VirtualService ,DestinationRule works together to fullfill a request?

I have a app running on k8s with istio as service mesh and nginx as ingress controller. I wonder what would be the request flow to my service. Is it possibly like so: user-request -->istio_gateway -...
0 votes
1 answer
715 views

Deploy a Redis cluster with Docker

I need to create a Redis cluster using Docker (with Kubernetes afterwards) and didn't find any official documentation on that matter. Could I have guidance on that subject ? I have the below yaml ...
0 votes
1 answer
71 views

How to work with Docker Compose secrets securely

I hope you are well. I have some questions about Docker secrets: How can I work with secrets securely using Docker Compose, given that their content is exposed in /run/secrets and can be easily ...
2 votes
3 answers
1k views

Combine Helm charts or leave separate?

I'm new to Helm and my first task was to recreate a simple pipeline. This pipeline is just: PostgreSQL -> Spark, with ELK monitoring the instances. Someone mentioned I may be able to combine all of ...
1 vote
1 answer
74 views

Docker Compose: dynamically change the image architecture based on running host machine

quick question: is it possible to dynamically change the image's arch based on the host's machine instead of create 2 separate docker compose file? Currently I have 2 files: For arm64 (osx) services: ...
0 votes
1 answer
819 views

Install OpenSSL into Red Hat image lacking yum

I have a container (running image quay.io/keycloak/keycloak:21.1.1) where cat /etc/os-release reports the following (excerpt): NAME="Red Hat Enterprise Linux" VERSION="9.1 (Plow)" ...
0 votes
0 answers
19 views

Using IaC for docker image management/update?

I was building a simple infrastructure using terraform (for AWS), I came accross the chicken egg of Lambda functions needing an image to be created. The options I envisioned are two: 1 - I decouple ...
0 votes
1 answer
384 views

nginx reverse proxy on docker - problem with setup custom ip for each domain

I an have nginx reverse proxy running in a docker container. On the host server I have a service failover ip. I want set for each domain on the nginx server to a custom ip, beacause at the moment all ...
0 votes
1 answer
948 views

Azure Devops deploy docker image to ACR using deployment job

I'm trying to deploy a docker image to Azure Container Registry via an Azure Devops pipeline. Now this works fine when I run it with this script: trigger: - master variables: # Container registry ...

1
2 3 4 5
23