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

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
17 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
7 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
13 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
42 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
9 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
26 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
40 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
23 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
13 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
18 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
17 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
14 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
65 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
33 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
55 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
9 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
47 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
33 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
81 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
13 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
31 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
43 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
9 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
82 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
55 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
31 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
102 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
172 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
94 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
30 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
30 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
30 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
44 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
17 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
1 answer
72 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
17 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
655 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
0 votes
0 answers
351 views

Promtail vs. Grafana Agent

I'm running a couple of containers in a Docker Swarm and am setting up a logging system using Grafana Loki and Grafana (up to ~50GB/log per day max). For log shipping, I'm partly scraping container ...
honest_annie's user avatar
0 votes
0 answers
110 views

Permission denied when mounting volume with podman in fedora

I use a docker-compose.yml file to boot my containers. My container mount to a external volume which targets a directory inside my user profile (postgres database files). However, after switching from ...
mesx's user avatar
  • 101
0 votes
1 answer
319 views

Postgresql container automatically dropping database after some time in Docker Compose setup

I have a Docker Compose setup for a PostgreSQL container like below: version: '3' services: #PostgreSQL Service um-db: image: postgres:15 container_name: um-db tty: true ports: ...
Sandeep Dhakal's user avatar
0 votes
0 answers
90 views

Push from CI to private docker registry behind cloudflared with gated access through SSO

I have a portainer, that is running a registry and a cloudflared tunnel. The portainer web UI is secured by cloudflare zero trust tunnel. So this setup works. Now I want to deploy software I build ...
Joshua Behrens's user avatar
0 votes
1 answer
115 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 ...
Elvis's user avatar
  • 9
0 votes
1 answer
29 views

Why Azure App Service auto serve my site on port 443?

Project Setup My React app image is stored on Azure Container Registry (ACR), with a Dockerfile as below, FROM node:16.19.1-alpine WORKDIR /frontend COPY ./frontend/package*.json . RUN npm install ...
Bugman Huang's user avatar
0 votes
1 answer
484 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 ...
Jérémy Ferfer's user avatar
0 votes
1 answer
114 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 ...
Santhosh's user avatar
  • 101
0 votes
0 answers
80 views

Base image can not be fetched within Dockerfile build but can be fetched from shell

Client: Docker Engine - Community Version: 24.0.6 OS: RHEL8 I want to build an existing docker compose project on a new VM. The docker compose project consists of two containers db and web. I have ...
Michael's user avatar
  • 69
2 votes
1 answer
152 views

How to get the actual memory usage of a container

I run docker stats and get: CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS b5ebb4b467f6 haproxy 0.06% 13.84MiB / 78.57GiB 0.02% 35....
cherouvim's user avatar
  • 141

1
2 3 4 5
23