Category "docker"

Updating Path multiple times in the same RUN command

Consider the following Dockerfile. On the last lines, first git is installed, and then something is appended to the path environment variable. FROM mcr.microsof

Can't get a Java heapdump from a docker container

My Java process is stuck and hogging a lot of CPU on the VM. I am trying to get to the root of the issue by getting a heapdump. This process is running in a doc

Docker custom user Permission Denied, while accessing container's file system

I've created a custom user using my Dockerfile. Here is my Dockerfile: FROM python:3.7-alpine3.10 # Make /opt/ working directory in docker container. WORKDIR /

How to fix "InternalError: variable not found in subplan target list"

I have a legacy Django project (django-1.1.29) and some tests in pytest (pytest-4.3.0), all running inside Docker. The database is PostgreSQL 10 and is a docker

How to connect locally hosted MySQL database with the docker container

Through docker-compose.yml I am able to run the application. Now we want to move the application to production, But we don't want to use the container database.

Docker build error duplicates of file paths not supported

This is my Dockerfile codes: FROM node:16.10-alpine3.12 as base RUN apk update RUN apk add git WORKDIR /app COPY package.json . FROM base as builder RUN npm i

Building from Dockerfile and getting "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY"

I'm trying to build a PHP 5.3/Apache for local use using a Dockerfile that starts: FROM php:5.3-apache RUN apt-get update && \ apt-get install -y \

Containerized Keycloak behind Nginx not working (502 Bad Gateway)

I need to serve containerized keycloak behind Nginx. Keycloak runs without any problem at 'localhost:8080' but when I try to access it through the reverse proxy

resolve docker network alias from multiple networks

Consider following scenario. I have 2 containers on 2 different networks with the same alias app. $ docker network create net1 $ docker network create net2 $ do

Docker not starting on Windows 11 with WSL 2

I'm trying to setup docker with WSL 2 to run a Dockerfile. I downloaded Docker Desktop, and when I tried to follow the quick start guide, I got the following er

Could not successfully bind to port 2181

I'm following https://github.com/PacktPublishing/Apache-Kafka-Series---Kafka-Connect-Hands-on-Learning and I've below docker-compose file and using Mac. version

Docker : compose file is incompatible with Amazon ECS

I am trying to deploy my docker image in AWS ECS. I have created the ECR repository and done all required steps till pushing the image to ECS. My docker-compose

Running .NET 6 project in Docker throws Globalization.CultureNotFoundException

I have upgraded API project from .NET 5 to .NET 6 successfully and running fine when executed locally (without Docker). I have also updated the version in Docke

Kubernetes mountPropagation clarifications

I have a docker image A that contains a folder I need to share with another container B in the same K8s pod. At first I decided to use a shared volume (emptyDir

netstat misses some ports [closed]

$ nmap localhost Starting Nmap 6.40 ( http://nmap.org ) at 2019-02-12 12:59 +00 Nmap scan report for localhost (127.0.0.1) Host is up (0.0027

Docker image/container not updating

I have a docker image, call it dockerimage/test. Every time I update it, I increment a tag, so dockerimage/test:1, dockerimage/test:2 and so on. When I pull an

How to install terraform 0.12 in an alpine container with apk?

I want to add terraform version 0.12.21 in an alpine container, but I can only add 0.11.0 using apk. If I try to add it as the desired version I get the follow

Remote Debugging of Tomcat/Wildfly server in docker container in VSCode/Intellij

I want to remote debug a Java application in Wildfly/Tomcat embedded in a Docker container. I want to debug the application in VsCode; I also tried to remote de

Storing docker nginx access logs inside a docker volume

Currently my docker container is printing the nginx access logs to /dev/stdout. How do I create a volume inside my docker container to store the access logs?

How to get minio-server version in docker?

By using minio server in docker, i installed and started using it before couple of months ago, now i need to know what version of minio server i am using. Also