Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Docker-Desktop UI/GUI becomes unusable after running this script from powershell

Docker-Desktop UI/GUI becomes unusable after running this script from powershell. $ErrorActionPreference = 'Continue' Set-Service -Name "com.docker.service" -StartupType Automatic -...
Francisco Nuñez IA Lover's user avatar
-2 votes
0 answers
15 views

What pipeline options should I consider for this situation? [closed]

I am new to ci/cd and am overwhelmed with the options. I would like some advice to help me narrow down my options so I can implement a proper ci/cd pipeline for the re-development of a legacy symfony ...
Tofuwarrior's user avatar
0 votes
0 answers
8 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
21 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
11 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
-1 votes
0 answers
13 views

Market share stats for Docker, LXC, rkt category?

Doing some web searching and found a lot of market share stats that I don't trust; e.g., ones that put Mesos and Marathon and CoreOS high up the list. Is there a good, trusted source for a [rough] ...
Samuel Marks's user avatar
1 vote
1 answer
73 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 vote
0 answers
55 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
29 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
33 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
11 views

Strange behavior while listing directories in Jenkinsfile where docker is running as agent

I am running a very basic Jenkinsfile, docker as agent. Below is the Jenkinsfile. pipeline{ agent none stages{ stage('Tomcat version'){ agent{ docker {image ...
rebel_roar's user avatar
0 votes
0 answers
10 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
31 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
-1 votes
0 answers
8 views

Create a Github Action that runs Debian inside a Docker container and then does the compile in that

I need to add testing under Debian for my GitHub action. Github's runners are all Ubuntu. There should be a way to spin up a Debian container and run everything inside that. I'm looking for ...
vy32's user avatar
  • 99
0 votes
0 answers
10 views

How to package C++ application along with its all dependencies for deployment using docker

I have a C++ application which depends on several other third party projects which I clone and build from source. I wanted to now deploy this application as a docker container. Consider following ...
RajS's user avatar
  • 141
0 votes
0 answers
5 views

How do I get required ubuntu commands while building distroless ubuntu image [migrated]

I created docker image for my app using official ubuntu:20.04 docker image as base image. It consumed 300 MBs. I started exploring if I can reduce the image size further I came across chiesel by ...
Mahesha999's user avatar
0 votes
0 answers
6 views

Dealing with challenges while deploying app through docker container on robot with limited Internet connectivity

I was almost convinced that app deployment on battery powered robots running ubuntu can be better done with docker instead of some non docker approach because of different reasons like atomic updates ...
RajS's user avatar
  • 141
0 votes
0 answers
9 views

Creating Docker Bridge kills my ssh connection and my network config on Centos9

I'm pretty new to Docker in my Testlab i build a Virtuamachine running docker at 10.0.100.6 (centos 9) . Now i want to make a docker bridge so that the container shares the same network with my other ...
naseweis's user avatar
0 votes
0 answers
15 views

Changing root password via DOCKERFILE

Nevermind the security implications, I'd like to change the root password via the DOCKERFILE. Is there a way to do this? I figured that the below line would work, however, it doesn't. RUN echo "...
Yaemish's user avatar
0 votes
0 answers
14 views

How to execute scripts inside kubernetes pod from node js server

I need to execute scripts inside kubernetes pod from the node js server. I did find kubernetes client library for node quiet useful. The issue is , I need the script to be executed in multiple pods ...
Haaris Khatri's user avatar
0 votes
0 answers
10 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
94 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
0 answers
20 views

Can't access external ip of kubernetes deploy on docker desktop in macOS

I am running Minikube on Docker in macOS to install Kubernetes locally. I am facing an issue can't access service Kubernetes by external IP. Service type is NodePort. Version components I am using ...
Hoang's user avatar
  • 101
0 votes
0 answers
17 views

Methods to manage docker security against host root attack on Ubuntu

I'm new to docker and in a workplace where employees are added to the docker group to enable us to launch docker containers (and all things docker). We're aware that docker has a vulnerability which ...
rr-aiden's user avatar
0 votes
0 answers
29 views

Docker Image Window Core pull fails?

I did try to find some Window image officially by Microsoft without success. Surprise that Wwindow image 2019 recently works for most basic concept testing but now it is over. For an examples: https://...
quangnx's user avatar
0 votes
1 answer
25 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
44 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
  • 61
0 votes
0 answers
89 views

502 Bad Gateway with nginx inside docker

I am facing a problem with reverse proxy regarding Docker services. When I try to access http://website.com its Ok, when I try to access http://website.com:2086 its also Ok but when I try to access ...
Rodney's user avatar
  • 1
2 votes
1 answer
60 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 vote
1 answer
94 views

How do I "Dockerise" a client/server setup using socket.io?

Forgive the vague question title, I'm a complete beginner and I lack the terminology to pose my question more specifically. I've been developing a simple application that consists of a game server (...
WalrusGumboot's user avatar
0 votes
0 answers
19 views

Gitlab-runner Docker in Docker - docker build cannot see Dockerfile

Gitlab-runner was created with below docker-compose: version: '3.6' services: gitlab-runner: container_name: gitlab-runner image: gitlab/gitlab-runner:v16.6.1 restart: always volumes:...
Kamil Kleina's user avatar
0 votes
0 answers
9 views

Deny keycloak user rights to push to private doocker registry

I have a private docker registry and a keycloak instance, both of which are running in a docker container. Keycloak already has a user that can pull from and push to the registry, but I want to create ...
Sarethe's user avatar
0 votes
0 answers
15 views

Which Azure service is most suited for (simple) docker compose configurations?

I want to run the Eramba docker compose on Azure. I tried following a tutorial for Azure Container Instances, but the docker cli functions in this tutorial are retired. The configuration exists of 3 ...
Jasper's user avatar
  • 101
0 votes
0 answers
20 views

Docker stack gives failed state but the container shows up

I have the below output when I do a docker stack ps command, which shows two tasks docker stack ps my_docker_stack ID NAME IMAGE ...
Jaango Jayaraj's user avatar
0 votes
0 answers
11 views

MicroK8s Pods can not Access MongoDb from in a Multi-Server Environment

I have 2 different servers running on Ubuntu 22.04. The local IP of my server A is 192.168.1.3 On this server I am running MongoDB on docker. I can connect to MongoDB from outside with MongoCompas. ...
Mustafa's user avatar
0 votes
0 answers
22 views

About user within image/container/host node docker

I am using docker / node:16 base image to deploy our node web projects. Yesterday, all of them went bust on one host machine, with the problem within the image (I assume). We publish images to our ...
Wish's user avatar
  • 101
0 votes
0 answers
150 views

deploy Harbor on Kubernetes via helm

I'm facing an issue with accessing the Harbor after deploying it on Kubernetes using Helm. Here are the steps I followed: Download Harbor helm chart: helm repo add harbor https://helm.goharbor.io ...
Mustapha Rachidi's user avatar
0 votes
0 answers
95 views

Bitbucket pipelines dind "Cannot connect to the Docker daemon"

I am trying to run end to end tests on a node repo but it needs the postgres container. When I te image: docker:dind pipelines: default: - step: name: Run e2e tests runs-on: ...
c3cris's user avatar
  • 101
0 votes
0 answers
11 views

WSL+Docker ghost environment

[reposting a question that was closed as off-topic over on SO] I'm running docker in wsl, and testing my containers by invoking docker-compose from the linux prompt. Sometimes my docker-compose call ...
Robert Sim's user avatar
0 votes
1 answer
84 views

Conflicts while building AWX-EE custom image

I'm currently building AWX EE custom image with the latest available but it seems latest versions got some conflicts with pip modules. My custom image was working great in July (awx-ee version 22.X 23....
motorbass's user avatar
  • 113
1 vote
1 answer
31 views

Why does every image I build have its own repository?

What does "repository" mean to the build process? Why does every image need a repository? I guess I should take this question up with whoever architect or team made this naming choice but ...
mr.zog's user avatar
  • 113
0 votes
0 answers
38 views

Docker container has a default route I didn't configure

I've set up a semi-optimal IPv6 environment, so nginx running in the container can see the real source IPv6 address instead of the IPv4 userland proxy one from Docker. I confirmed this by looking into ...
zhengliw's user avatar
0 votes
0 answers
121 views

Add K3s agent to server in a docker container (using Tailscale userspace networking)

I have a K3s server running somewhere, connected to Tailscale. I am able to connect regular VM agents to it via Tailscale under normal circumstances. However, I also need to add an agent "node&...
Paul Roever's user avatar
0 votes
0 answers
7 views

Containers in AKS cannot access Azure resources (Failed to resolve URL)

I have an API server (Python Flask) hosted on AKS. When the service starts, it: Access Azure key-vault to get storage account connection string use the connection string to perform CRUD jobs on Azure ...
han shih's user avatar
  • 101
0 votes
0 answers
119 views

Laravel project under Ubuntu with Docker returns 403 Forbidden

Starting point: Laravel 9 application, which I want to work with Docker container, I have only the project folder and nothing else installed on my PC. What I did: I installed Docker (Docker Desktop), ...
MorganFreeFarm's user avatar
0 votes
0 answers
6 views

How to commit docker changes but select only a subset of changed files

In one of my docker container, I installed a vscode extension. This is a dev container so I want to commit the change into the image. When I run docker diff container_id, I got lots of files changed, ...
Felix F Xu's user avatar
0 votes
0 answers
182 views

Alternatives to 'Docker Compose's integration for ECS and ACI will be retired in November 2023'

We are currently using 'docker compose' to deploy our applications on ECS, and during its usage, we have noticed the following notice: 'Docker Compose's integration for ECS and ACI will be retired in ...
Xeven's user avatar
  • 1
0 votes
1 answer
29 views

How to efficiently copy multiple Docker images between two air gapped repositories?

I need to efficiently copy Docker images between two air gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a ...
Sergey's user avatar
  • 103
0 votes
0 answers
51 views

Using docker-engine unable to access containers (inside WSL2) from host network

Here is the scenario, I was using Docker Desktop with wsl backed engine and whenever I used to run a container inside my wsl for example: docker run -d -p 80:80 somecontainer It was used to be ...
Dakait's user avatar
  • 101
0 votes
0 answers
9 views

How to run job initialization on different nodes one by one?

I have a multi-node Kubernetes cluster built with microk8s under Ubuntu 22.04. On the cluster, I need to run a job (YAML fragment below), which requires pulling a docker image (during initialization) ...
tinlyx's user avatar
  • 111

1
2 3 4 5
25