Skip to main content

Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
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, ...
Flex1sh's user avatar
0 votes
0 answers
14 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 ...
Carlo's user avatar
  • 101
-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 ...
lorenzo gardella's user avatar
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 ...
Manav Grover's user avatar
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. ...
Della's user avatar
  • 133
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 ...
Vinay Sheel Sagar's user avatar
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 ...
mahdi's user avatar
  • 1
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 ...
mcheong246's user avatar
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 ...
Parsa's user avatar
  • 101
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/...
void_meet's user avatar
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 ...
Jonas's user avatar
  • 1
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 ...
Postie's user avatar
  • 113
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 ...
pjoltergeist's user avatar
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
jtjones's user avatar
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 ...
user981's user avatar
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 ...
pzullo's user avatar
  • 1
0 votes
0 answers
36 views

How to properly backup docker repository using n3dr?

I try to use n3dr tool (https://github.com/030/n3dr) to make backup of self hosted docker repository in Nexus 3 OSS. In my nexus 3 oss I have 3 docker repository: docker-repo1 with port 8444 docker-...
Vitaly Chudovsky's user avatar
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: ...
Jaeyson's user avatar
  • 113
0 votes
0 answers
28 views

Listing tags on an ECR pull through cache

If I list the tags in an ECR repository that is configured as a Pull-Through Cache, will my client receive the full list of tags available from upstream or only the subset of tags that have already ...
benjimin's user avatar
  • 279
0 votes
0 answers
9 views

Why aren't the iptables `pkts` and `bytes` count getting updated for Docker Containers, on receiving tcp packets?

I'm currently running NixOS-23.11, without any special configuration for docker, just the default install from nixpkgs. I have the following Dockerfile definition: FROM alpine:latest COPY ./index.html ...
Noel Kwan's user avatar
0 votes
0 answers
16 views

Dockerized Nginx wont display Dockerized React application

How can I update my nginx config so the docker nginx will display my dockerized react website, both docker containers on the same host. I can visit the react application through localhost at the ...
user45220's user avatar
0 votes
0 answers
25 views

How Kubernetes deployment scaling down happens

I have a kubernetes deployment running. Let's call it "my-spboot-deployment". This deployment has 2 replicas running in two different worker nodes. (I have used node affinity for ...
Kasun Wimaladarma's user avatar
0 votes
0 answers
25 views

Using docker-swarm with Jenkins for deploying agents

I have a cluster which is being used as a docker swarm - 1 manager, and 1 workers. The manager node is a pure manager node, set via docker node update --availability drain The manager has the /usr/...
DevOps's user avatar
  • 1
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 -...
user45187's user avatar
0 votes
0 answers
111 views

Docker Desktop - WSL distro termined abruptly

I'm on Windows 10 with Docker Desktop and I get this error every time i'm trying to create the image from this dockerfile: # syntax=docker/dockerfile:1 FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20....
Danfb__'s user avatar
0 votes
0 answers
51 views

Make AMD GPU available in Docker container

I am running g4ad family instances on AWS. I am running there docker containers where I need to access the AMD GPUs. The used AMI for host instance is Amazon Linux 2 optimised for AMD. The base image ...
Michal Dolnik's user avatar
1 vote
1 answer
78 views

Can't connect to local mongoDB from Docker Container

I have mongodb running in the host machine (Ubuntu 23.04) in the default port. I have set the bind_ip to be 0.0.0.0. In my docker-compose file, I have added extra_hosts: - "host.docker....
Equation_Charmer's user avatar
0 votes
0 answers
11 views

permissions of the file system inside the docker is messed up, how to upgrade docker-compose version

Recently observed that file system inside docker container (without any changes) is messed up and this is impacting many as per: https://github.com/docker-library/openjdk/issues/465 There are such ...
Mihir's user avatar
  • 101
2 votes
1 answer
69 views

AWS ECR Public gives error in CLI

I am trying to push my Nest.js app to an AWS ECR in a public repo. I created an IAM user and attached AdminstratorAccess policy to it and then generated a private key. When I type the following ...
Ahmad Qayyum's user avatar
2 votes
1 answer
76 views

How did docker compose down update the running image?

I'm running an application with docker compose. version: '3.8' services: php: build: context: . ports: - "[::1]:${BACKEND_PORT}:80" frontend: build: context:...
AndreKR's user avatar
  • 150
0 votes
4 answers
134 views

How to exit docker run -t

Well I used this command and got this prompt: docker run -t alpine:latest sh / # ^[[3;5R` So docker allocated a tty for me, but didn't leave stdin open and no matter what I do, I can't leave this ...
Bog's user avatar
  • 101
0 votes
0 answers
19 views

Best practice to share host NAT interface to Docker containers

Our bare-metal virtual machines are behind a NAT for firewall and security, so basically each machine has a 192.168.x.x interface and connects to the internet via the gateway. On machine Web we run ...
Shayan's user avatar
  • 101
0 votes
0 answers
44 views

Conda environment in docker

I am new to dockerization and I am trying to make a docker image out of git repository. The Dockerfile looks like this, FROM continuumio/miniconda3:latest ENV PYTHONDONTWRITEBYTECODE=1 ENV ...
Shaz's user avatar
  • 101
0 votes
0 answers
74 views

ADD'ing a zip file during a docker build corrupts the ADD'ed file

I am trying to upload a Python .whl file (essentially a .zip file) while building a Dockerfile image: FROM python:3.12-slim-bookworm RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-...
rlandster's user avatar
  • 121
0 votes
0 answers
15 views

low level vs high level container runtime replacement

Which components inside docker can be replaced or run separately? standard docker distro has these components: docker cli(tool) on my local pc, translates docker cmds to rest api requests. docker ...
ERJAN's user avatar
  • 101
0 votes
2 answers
135 views

Ubuntu container not running in detached mode

I tried running my containers in detached mode and noticed some issues. When I ran the command docker container run -d nginx, the image of nginx got pulled, the container got created, and kept running ...
Jilson's user avatar
  • 11
2 votes
0 answers
79 views

How to deploy dockerized MERN stack app on AWS EC2 instance?

I dockerized my MERN stack app (Next js, node js, MongoDB) and tried to deploy it on the AWS EC2 instance. When I try to access my backend on port 5000 via AWS Public IP, it works fine but when I try ...
Rana Faraz's user avatar
0 votes
0 answers
37 views

Register gitlab-runner through terraform after deploying the runner as a container

Context and code used Here is the code I produced to deploy any kind of container on Azure. (We are doing the same on AWS and facing the same kind of issues) resource "azurerm_container_group&...
Hybris95's user avatar
  • 103
0 votes
1 answer
113 views

Bind dedicated ip to docker container in Windows Server 2022

I have a Windows server 2022 host and on it, I launched a docker container running the same Windows server core OS. This server has 2 IPs attached to it and I want one of them to be assigned only to ...
Vadim's user avatar
  • 1
0 votes
1 answer
262 views

Ignore 'host not found in upstream' in docker swarm environment

I have a problem with nginx configuration in docker swarm environment. I would like to set the nginx service used as a reverse proxy to make the dockerized services communicate, everything works ...
Matteo Pasini's user avatar
4 votes
1 answer
140 views

What’s the docker compose equivalent of my docker command?

I’ve been using the command line for docker for 2 weeks and just learned how to use docker compose yesterday using the excellent documentation I found at Jellyfin. I got a Jellyfin container up and ...
udance4ever's user avatar
0 votes
1 answer
34 views

SSH from one docker container to another that is using --network flag?

I am attempting to ssh from a docker container into another, but the container I am trying to ssh into needs the --network host flag to be used, and therefore has no IP address. I understand that that ...
garrett_17's user avatar
0 votes
1 answer
38 views

How to run multiple identical docker containers using jumbo frames?

I am attempting to run multiple (we'll say 2) instances of software in docker. This software is proprietary and 3rd party, so modifying it is not an option, and neither is using docker exec or attach ...
user23564615's user avatar
0 votes
0 answers
11 views

exporting Mikrotik as an OS

how can I export license "mikrotik" platform as a Docker image file? I boot a OVF file in Virtual machine and I need a command in router OS for build a docker image.
Ali Yadollahi's user avatar
0 votes
1 answer
45 views

Should I use monorepo for deploying projects?

I'm a newbie into devops tasks. I am working on a project in which I have the following parts: One frontend which provides info about the project (1), one frontend that is the actual web application (...
Javier's user avatar
  • 1
0 votes
2 answers
51 views

how to stop "docker run -it certbot/certbot"?

I'm newbie in docker. I use below command to run the certbot image twice: docker run --rm certbot/certbot I'd like to stop it but I can't. This command has started to produce many containers and ...
Arani's user avatar
  • 101
0 votes
0 answers
21 views

How to retain `docker secret`s after restarting a single node swarm without values stored in plain text on file system?

I am trying to learn docker secret. I will use Docker Swarm and only have a maximum of 1 node in the cluster. I ran these commands: docker swarm init; printf "test123" | docker secret ...
learningtech's user avatar
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 ...
Bizhan's user avatar
  • 101
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&...
TheEsnSiavashi's user avatar
2 votes
1 answer
917 views

How to configurate keycloak healthcheck in docker compose?

I need my BFF service to wait for keycloak to be fully launched using condition service_health, and then start its launch. I can't set up a health check for keycloak. When searching for an answer, I ...
The Prototype's user avatar

1
2 3 4 5
23