Category "docker"

Using Docker to launch web app, can't connect to Postgresql DB?

I received the following error when trying to write session data using Tomcat's PersistentManager to a Postgres DB running on my local machine: SEVERE: A SQL

docker-compose with multiple postgres databases from sql dumps

I know this may seem like a duplicate of docker-compose with multiple databases, but I still can't manage to get it working after going through the answers. He

'clear' doesn't clean the screen when I run docker on Windows Command Prompt

I am using docker on windows with an Ubuntu Image. Everything is just fine on docker itself, but when I run one of those images, whenever I try to clean the scr

"##[error]Error response from daemon: failed to reach build target <stage> in Dockerfile" only during CI pipeline

I'm getting this error in my PR pipeline and I'm not sure what the cause and solution is. The Docker task is pretty well templated and the stage does exist in m

docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)" returning empty

I want to be able to read the contents of the file ~/.ssh/id_rsa and pass the same to my build stage of the image. When I use the command docker build --build-a

Docker error: standard_init_linux.go:228: exec user process caused: exec format error

I was able to build a multiarch image successfully from an M1 Macbook which is arm64. Here's my docker file and trying to run from a raspberrypi aarch64/arm64 a

`docker-credential-gcloud` not in system PATH

After the latest updates to gcloud and docker I'm unable to access images on my google container repository. Locally when I run: gcloud auth configure-docker a

Failed to connect to docker hosted MSSQL

I have a problem followng [this tutorial](https://hub.docker.com/r/microsoft/mssql-server-linux/ ) where I try to connect to my docker hosted MSSQL via sqlcmd.

Fluentd container not running on Openshift

I am trying to run the fluentd image on Openshift. I am using the official image of Fluentd from Docker Hub for the same. However, i get the following error -

Docker RabbitMQ in detached mode logging

I am running RabbitMQ in the docker container in detached mode. I am doing this so I can set some values using rabbitmqctl. I added tail -f /dev/null so the c

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