Category "docker"

Docker Compose MongoDB docker-entrypoint-initdb.d is not working

I am using following docker-compose file version: '3.7' services: db_container: image: mongo:latest restart: always environment: MONGO_INITDB_ROOT_

Docker Windows Container Access is denied issue

OS: Windows Docker Desktop version: Server: Docker Desktop 4.7.1 (77678) Expected behavior: Once i run the following command to successfully download, extract a

Docker pull from local repository Fails

Probably a very basic question but I can't seem to get my head around this. So, I have a docker file, which I have built and it builds successfully and I can al

How to make the ssh with -o StrictHostKeyChecking=no running on the docker in order to ssh the host work without exiting the script execution?

I have a script, that is running inside the docker container some actions we need for some internal debugging purposes: set -eu echo "Starting i/o test for hos

Change Docker base image of running containers

I have been using alpine as the base image for the docker containers which are getting deployed in openshift platform. The reason being it was light weight and

Setting alias in Dockerfile not working: command not found

I have the following in my Dockerfile: ... USER $user # Set default python version to 3 RUN alias python=python3 RUN alias pip=pip3 WORKDIR /app # Install l

Mysql 8 Slower than 5.7 on Docker

I am new to docker and I have recently been trying to setup my project on docker. I have successfully deployed the application on nginx and php and i have been

docker: can not start xvfb-run with docker run, but can start with docker exec -it

I'm trying to run a node app with xvfb-run, here is my Dockerfile FROM node:lts-alpine RUN apk --no-cache upgrade && apk add --no-cache chromium coreut

How containerd copy a file from host to a running container?

I find that I can use ctr snapshot mount to copy a file from a container to a host. But how can I copy a file from a host to the container using containerd? I u

I am using Azure Devops to build and push my Docker image. How can I pass arguments while doing buildAndPush using Docker task?

I have created a pipeline to build a Docker image and push it to my container registry. I am using Docker task for doing this (buildAndPush command). Here is a

What could cause a "TypeError: (0 , d.__decorate) is not a function" of an angular function inside a docker container?

I'm building a web application. The frontend is in angular and the backend in .Net Core. Currently, I'm doing the following, to build my final docker image: Bui

Spring boot docker container is running, but cannot access via localhost/browser

I have tried to search other questions, but the solutions arent cutting it. I have a java spring boot application running inside docker, using the command below

RabbitMQ doesn't show me the queues and exchange created in my Spring consumer and publisher apps

I am trying to create a publisher and consumer apps in spring using RabbitMQ. Every thing works fine and when the publisher sends a message, the consumer receiv

RabbitMQ doesn't show me the queues and exchange created in my Spring consumer and publisher apps

I am trying to create a publisher and consumer apps in spring using RabbitMQ. Every thing works fine and when the publisher sends a message, the consumer receiv

docker-compose up not running app correctly

I'm very new to docker. I have a mean stack app that and have configured the dockerfile for frontend and backend as you can see below. When I run docker-compose

Not able to use terraform command on OpenFaas Python 3 Function deployment

I am using a Openfaas Python3 function with terraform to create bucket in my AWS Account. I am trying it locally and created a local cluster using k3s and insta

Passing Variables to Docker Compose via a Terraform script for an Azure App Service

How do I VAR=VAULE docker-compose up from a Terraform script building an Azure App Service using a Docker Compose file site_config { app_command_line = ""

`RUN ./gradlew build -x test` command error

I have been trying to install conductor using docker but I have been constantly getting errors. I tried using [https://github.com/Netflix/conductor/tree/main/do

CDK: aws_cdk.aws_ecs.EcrImage vs aws_cdk.aws_ecs.ContainerImage

What is the difference between using aws_cdk.aws_ecs.EcrImage and aws_cdk.aws_ecs.ContainerImage to create instances using CDK?

docker-compose and create db in Postgres on init

I have a question. I am pretty new to docker, so what I am trying to do is create a docker-compose file that on compose command will also create the database. P