For clarification, when I say base image, I mean the parent image that has all the common configurations, so that the children based on it don't need to downloa
Consider the following Dockerfile. On the last lines, first git is installed, and then something is appended to the path environment variable. FROM mcr.microsof
I've created a custom user using my Dockerfile. Here is my Dockerfile: FROM python:3.7-alpine3.10 # Make /opt/ working directory in docker container. WORKDIR /
This is my Dockerfile codes: FROM node:16.10-alpine3.12 as base RUN apk update RUN apk add git WORKDIR /app COPY package.json . FROM base as builder RUN npm i
I am trying to build some docker files using ansible, but it is not clear what is used as the build directory. directory structure . ├── build
I have upgraded API project from .NET 5 to .NET 6 successfully and running fine when executed locally (without Docker). I have also updated the version in Docke
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
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
I am using docker mongo with my aspnet core application but I am unable to make connection with mongodb which is running under container. Although I am able to
I'm following the following tutorial on how to start a basic nginx server in a docker container. However, the example's nginx docker container runs on localhost
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
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
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
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 -
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
I am working on hardening our docker images, which I already have a bit of a weak understanding of. With that being said, the current step I am on is preventin
In my Spring Boot app I want to externalise the properties to run in a Docker container. When first deployed, the properties that are currently in my-server/sr
Simple spring boot application trying to run in docker, however after docker run, exits immediately. Here is my Dockerfile FROM anapsix/alpine-java:latest VOLU
I have created a dotnet webapi service using dotnet core 5, built a docker image with the below Dockerfile and while running it get the below error message: Cou
I have a simple frontend and backend app. And I have a docker-compose file but it's inside frontend folder. So when I run it both frontend and backend container