Category "docker"

Docker: Ubuntu base image send Email using mail & mailx

I'm trying to send mail using Mail & Mailx from my AKS container. I am using Ubuntu as a base image and have installed mailutils. using the below command RU

iptables rules missing after docker restart. How to save permanently?

I am running docker and Zerotier and for Zerotier to work properly, I need to add rules to iptables. However, after each reboot this rule is removed by docker.

How to run "--verbose" for wiremock in docker compose file

I want to get verbose output from mockwire when running in docker using docker compose file. I tried these three ways but none of them work. first way services:

Repository is not signed in docker build

I have the following Dockerfile that uses the latest Ubuntu image pulled from dockerhub: FROM ubuntu:latest RUN apt-get update && apt-get install -y

docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Service Unavailable. IN DOCKER , MAC

I am having this issue in my Mac system 10.11.6 system3:postgres saurabh-gupta2$ docker build -t postgres . Sending build context to Docker daemon 38.91kB Step

Unable to display GUI application from Windows container : Windows 2019 Server

I need to use Docker Windows containers for Windows applications to run on it. I build an image with Windows 2019 Server and installed x server for the display

k8s how to exec to distroless container

I want to delete a specific file from a cronJob to the following container, the problem is that when I run exec I got error, how can I exec to distroless contai

How many CPUs does my docker container have?

I'm writing a library that operates in parallel. This library is often used within docker containers. I would like to start as many threads as my docker conta

Docker event output formatting

Is there an easy way to format the output from the docker events into something thats more easily parseable ? I need to extract the event and the container name

Differences between external and default volume in Docker Compose?

There are different custom installations of a variety of docker-compose applications. And often they use external volumes instead of the default ones directly i

SSLHandshakeException in Eclipse Temurin JRE8 Alpine container for self-signed certificate

TL;DR: After installing my CA in a Docker container from image eclipse-temurin:8-jre-alpine I still get javax.net.ssl.SSLHandshakeException: Received fatal aler

not able to connect to mysql docker from local

I am trying to connect to mysql database from docker image. However it's throwing errors. following is the docker image I am using. https://hub.docker.com/_/

docker, iptables and cloudflare

I have the same problem that was solved here, trying to create iptables rules that block incoming HTTP/HTTPS traffic except for IPs other than Cloudflare. Docke

Django/Docker/Postgresql: app connected to the 'wrong' database

I have develop a project with Django/Docker/Postgresql and use docker-compose to deploy on a linux remote server. I want to deploy 2 apps based on the same code

Docker image python-alpine fails when using lib

I have the following Dockerfile: FROM python:3.7-alpine WORKDIR /msa-app/ EXPOSE 3000 ENV LD_LIBRARY_PATH="/usr/local/lib" ENV LD_RUN_PATH="/usr/local/lib" E

AWS ECS leader commands (django migrate)

We are currently deploying our Django APP on AWS Elastic Beanstalk. There we execute the django db migrations using container commands, where we assure we only

How to implement Auto scale on Memory based metric in EKS cluster

I have a EKS cluster with min 3 and max 6 nodes, Created auto scaling group for this setup, How can i implement auto scale of nodes when spike up/down on Memory

Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning

I have a Dockerfile with a build command like this: #install some base extensions RUN apt-get install -y \ zlib1g-dev \ zip \ && dock

chmod: install.sh: No such file or directory On Docker

So my problem when i running this chmod -x install.sh keep return chmod: install.sh: No such file or directory meanwhile my tree like this Dockerfile app/ d

BeanCreationException: Error creating bean with name 'flywayInitializer'

I am trying to run my project tests in a docker container. All of the tests work just fine when running locally. Errors started occurring when I tried to move m