Category "docker"

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

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