Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 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
15 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
4 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
0 answers
24 views

how to set locale in alpine docker image

I am using alpine v3.18.2 as the base image of rust project, now I added the international for the project that need to get locale from docker images. This is how I tried to set locale in docker image:...
Dolphin's user avatar
  • 127
0 votes
2 answers
20 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
1 vote
0 answers
23 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
23 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
25 views

How to implement docker image update on edge device not connected to the Internet [closed]

We need to deploy docker container on edge devices which wont be having Internet. These device occasionally connect to network and one of the device (lets call it H) on the network will have internet ...
Mahesha999's user avatar
0 votes
0 answers
59 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
20 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
3 votes
1 answer
40 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
20 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
18 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
-1 votes
0 answers
40 views

Docker build fails on GitHub Actions

I'm getting an error when I run a Docker build and push script through GitHub Actions. This is the error: # ------ Dockerfile:48 # -------------------- 46 | RUN adduser --system --uid 1001 nextjs ...
us321321's user avatar
-1 votes
0 answers
20 views

Docker is too fast to start containers on reboot

I am running a compose file with restart: always on some services, with the following content and an .env file. version: "3.3" services: <some_name>: image: ${IMAGE} restart: ...
superAnnoyingUser's user avatar
0 votes
0 answers
7 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
-1 votes
0 answers
34 views

What is the difference between Docker Desktop and Rancher Desktop?

The difference between Docker Desktop and Rancher Desktop, especially to what extend Rancher Desktop uses docker features, plugins etc, is not trivial. E.g. the Docker Scout CLI plugin comes pre-...
m19v's user avatar
  • 99
0 votes
1 answer
21 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
-1 votes
0 answers
17 views

docker service create error: library BIO_new_file No such file or directory crypto/bio/bss_file c67 calling fopen when use certbot to create ssl cert

I use the below script to create an SSL certificate for my website which is hosted in VPS with dockerized nginx webserver. It's got the certificate from Let's Encrypt. #!/bin/bash if ! [ -x "$(...
Arani's user avatar
  • 99
0 votes
2 answers
32 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
  • 99
-1 votes
0 answers
13 views

Access a container with http works but failed with httpS

Summary I have a cluster with a container inside a pod I can access trough http. But since I try to replace http by https, it failed. Explanations So, when I set the cluster with the config files on “...
fauve's user avatar
  • 99
-1 votes
0 answers
11 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
0 votes
0 answers
9 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
31 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
15 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 vote
1 answer
239 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
241 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
72 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
104 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
-1 votes
0 answers
15 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
50 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
47 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
0 answers
14 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
9 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
14 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
38 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
22 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
1 answer
17 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
200 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
-1 votes
0 answers
39 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
  • 99
-1 votes
0 answers
20 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
-1 votes
0 answers
53 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
43 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
56 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
-1 votes
0 answers
187 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
86 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
181 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
28 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
-1 votes
0 answers
12 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
20 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

1
2 3 4 5
24