Category "docker"

How to refresh your shell when using a Dockerfile?

I am trying to build a Dockerfile that can make use of Azure functions. After unsuccessfully trying to build it using alpine:3.9 because of library issues, I sw

Configuring traefik for basic http so that dashboard uses port 80 -- get page 404 not found

My VPS is a ubuntu 22.04 LTS headless I am doing this at /home/ubuntu so I have a ubuntu user that's a sudoer. Already installed docker and running Docker versi

While using Harbor create 'New Registry Endpoint' unhealthy issue

While using harbor create 'New Registry Endpoint' unhealthy issue as below: I followed the https cert generation instruction as link: https://goharbor.io/docs/1

How to use local docker images with Minikube?

I have several docker images that I want to use with minikube. I don't want to first have to upload and then download the same image instead of just using the l

How to install docker on Amazon Linux2

I wanna create docker image for Amazon ECR. but yum can't find it in my Amazon Linux2. [root@*** ~]# yum install -y docker Loaded plugins: amazon-id, rhui-lb,

Dockerized Minio for local use not accepting files

I would like to use Minio locally to replicate an S3 like storage. Installed through docker : sudo docker run \ -p 9000:9000 \ -p 9001:9001 \ --name minio

Install sdkman in docker image

Getting error while installing SDKMAN! in Ubuntu 16.04 docker image. FROM ubuntu:16.04 RUN apt-get update RUN rm /bin/sh && ln -s /bin/bash /bin/sh RUN

How can I use Erlang with Docker to run a Phoenix application?

I want to use a docker image in production to run a Phoenix container, However, since Elixir is just a layer on top of Erlang, it feels like it might be a waste

How to delete all the pods which are in Error/Init/CrashloopBckoff state at one shot

I have tried below command. but this command gets all the pods which are not running for some reason any other way to do this kubectl delete pods -A --field-s

Docker Registry behind HAProxy not working properly

I have configured Docker Registry using htpasswd authentication as docker service. I use a port mapping 443:5000 and it works perfectly. "docker login :443" wor

How to prevent database docker from being rebuilt and losing production data

I love using docker & docker-compose for both development and production environments. But in my workflow, I keep considering dockers as disposable: it me

Running Ngrok in a container using docker

[https://github.com/gtriggiano/ngrok-tunnel ] runs ngrok inside a container. Ngrok is required to run in the container to avert security risks. But am facing pr

Why could Kafka warn "partitions have leader brokers without a matching listener"?

I'm trying to get Kafka to work on docker-compose for the first time. The application runs fine without docker. But on docker, I get the error as described belo

How to mount existing directory on Windows Host in Docker Portainer?

I have docker-compose.yml volumes: - D:/Docker/config:/config - D:/Downloads:/downloads I can do this with docker-compose up without any issue Bu

debconf: delaying package configuration, since apt-utils is not installed

I'm setting up Docker to run my CakePHP application and my Dockerfile is like FROM php:7.2-apache # Enable Apache Rewrite + Expires Module RUN a2enmod rewrite

how do i add a topic to a running kafka container using docker commands?

I have a kafka container started using following docker run --detach --name kafka -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=192.168.1.89 --env ADVERVTIS

Java using much more memory than heap size (or size correctly Docker memory limit)

For my application, the memory used by the Java process is much more than the heap size. The system where the containers are running starts to have memory prob

Docker OpenJDK 17 does not contain certificate

I want to create a docker image with OpenJDK 17 but it will be modified by adding our company's certificates. Dockerfile: FROM openjdk:17 COPY Certs /certs RU

Can't seem to get MySQL to start in Docker Container

I'm trying to get MySQL to run in a Docker Container under Windows 10 WSL 2. I attempted to start the container with this command: docker run -d --name mysql -

How to install mysql-server in a Dockerfile?

I have a complex Dockerfile which install much more than just mysql-server so I cannot start from an existing mysql container. When removing all the extra-stu