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
1 answer
441 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
15 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
5 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
11 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
5k 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
103 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
11 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
447 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
35 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
34 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
758 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)" ...
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 ...
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 ...
0 votes
1 answer
359 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
903 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 ...
0 votes
2 answers
36 views

How can I use two different docker container on the production server (after pushing to DockerHub)?

I have the docker-compose file with two containers. "nginx" container depends on "demo" (it's python django backend). version: '3.9' volumes: static: services: demo: ...
0 votes
3 answers
6k views

gitlab-runner docker: command not found

I'm trying to build docker container using GitLab runner. (lead dev left company, and now I have no idea how to do it.) I'll share everything I can. Build output as I understand from output runner is ...
0 votes
1 answer
221 views

proxy in a docker container implemented only with iptables - refuses connection

We need to implement a proxy only by using iptables in a container and all traffic from other containers use this container to reach internet. Additionally in this proxy, drop trafffic to yahoo.com ...
0 votes
1 answer
101 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 ...
21 votes
1 answer
18k views

How do I use docker command's "--format" option?

I can't seem to find any good documentation on how to use the docker command's "--format" option in real life. I know how to use Go templates. But specific to docker, how do I know what placeholders ...
0 votes
2 answers
119 views

Using docker as a substitute for VM for testing

I'm new to docker and I want to start using it in the following scenario. For example, I need to implement an Asp.Net Core Web API and deploy it to a linux system. The development is done on a Windows ...
2 votes
1 answer
46 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 ...
4 votes
1 answer
4k views

Can't install MongoDB docker on raspberry

If I want to execute any docker file from https://hub.docker.com/r/library/mongo/tags/ on my raspberry Pi 3B with raspbian stretch installed I always get the same error namely something like : ...
2 votes
0 answers
767 views

Docker convenience script stuck after "Scanning linux images"

I have a Raspberry Pi 2B and a fresh install of Raspbian. I am trying to install Docker, and following the instructions on the site (https://docs.docker.com/engine/install/debian/#install-using-the-...
0 votes
0 answers
21 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-...
0 votes
1 answer
628 views

Windows 10 docker desktop keeps showing Kubernetes is starting

I checked the Enable Kubernetes in windows Docker Desktop and it keeps circling and showing Kubernetes is starting... I searched and couldn't find any proper answer. Some advises are about deleting ...
8 votes
2 answers
32k views

how to check running containers with containerd

I've switched to containerd in a k8s cluster. There's 2 pods running on one node, 2 github runners. I used to check on a host what containers were running with "docker container ls" but how ...
0 votes
0 answers
20 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 ...
0 votes
1 answer
58 views

docker: homedir does not belong to the user

I created a Dockerfile which creates a new user. When I run this Dockerfile I see that the user is created, his homedir is created as well, but the homedir is owned by root - and even "chown"...
0 votes
1 answer
119 views

How to make a CI/CD of an ASP.net core app to Linux compute engine instance

I'm using Google cloud, I have a linux VM up and ready for use, I have an ASP.net core web app on Azure devops. I have configured the build pipeline for this webapp, now I want to automate its ...
0 votes
3 answers
2k views

Troubles with mapping ports on a very simple Docker container

I'm new to Docker and following a tutorial on Udemy.com. The turtorial has me setting and running a very simple container. Docker File # Specify a base image FROM node:alpine # Putting files into a ...
0 votes
1 answer
4k views

Docker warning about platform not matching the host platform

I have a Dockerfile that works on both mac and windows. But when I create an actual container on mac, I always get a warning that says: PS /Users/me/> docker run -it platformtest /bin/bash WARNING:...
0 votes
1 answer
706 views

Docker MongoDB container endlessly restarts on macOS

The MongoDB docker container infinitely restarts every few seconds on local docker env, even though it used to work. Env: macOS 13.2.1, docker 4.17.0, Engine: 20.10.23, Compose: 1.29.2, Credential ...
0 votes
1 answer
152 views

Unable to deploy grafana using helm

I'm new to grafana and prometheus, started working on it from last few days. I'm having some issues. I build a new grafana image and I am using the official helm repo to install it. On using the ...
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 ...
0 votes
1 answer
171 views

Can't get Python with cx_oracle to connect outbound to Oracle server

When I inherently go to make the connection from the python app inside the docker file I get .. I can ping and nslookup from indide the docker container from the terminal....so I'm a bit confused.. ...
0 votes
0 answers
11 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 ...
0 votes
1 answer
305 views

Gitlab build from multiple repositories - git submodules

I have gitlab repo ZERO (project) which serves as a code base for multiple websites (repo ONE, TWO, THREE..), these are also gitlab repositories. I am using gitlab CI/CD options, I want to be able to ...
0 votes
3 answers
467 views

Azure Devops pipeline not listing artifact created by it

I am building and pushing Docker images to my Azure Container Registry from Azure DevOps using the azure-pipelines.yml file below. This works great except that there doesn't seem to be any relation ...
0 votes
0 answers
17 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 ...
0 votes
0 answers
13 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/...
1 vote
1 answer
2k views

How can I make an image out of a k8s specific pod container

I have made a pod, and it has only one container, I've been able to connect ot it by using kubectl exec -it -c <container_name> <pod_name> bash And I've installed and done several stuff on ...
0 votes
0 answers
58 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....
3 votes
1 answer
248 views

Is running linux container on windows aws instance possible?

what I'm trying to achieve is running a Linux(ubuntu LST) container inside a windows server 2019 OS. The problem is that the windows OS runs as an AWS instance. There have been problem for me trying ...
0 votes
0 answers
28 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 ...
0 votes
1 answer
1k 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 ...
1 vote
1 answer
52 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....
0 votes
4 answers
71 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 ...
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 ...

1
2 3 4 5
23