Category "dockerfile"

Install R packages using docker file

I have installed R using below line in my docker file. Please suggest how do I specify now packages to be installed in my docker file. RUN yum -y install R-cor

Dockerfile RUN - file not found

I'm trying to execute (RUN) a script but I'm getting a not file found error: The line is: RUN settings/certs/install-certs.sh The other lines that use files fro

entrypoint file not found

I have a docker image with this command: FROM ruby:2.4-alpine WORKDIR /usr/src/app COPY Gemfile /usr/src/app/Gemfile COPY Gemfile.lock /usr/src/app/Gemfile.lo

Error running docker container: starting container process caused "exec: \"python\": executable file not found in $PATH": unknown

I am trying to dockerize a simple Python-Flask application but I am getting an error while running my container. docker: Error response from daemon: OCI runtim

npm ERR! code ENOTEMPTY while npm install

I get the below-mentioned error when trying to do NPM install in my Dockerfile. I do delete node_modules before running NPM install still I end up with this err

Error response from daemon: Dockerfile parse error Unknown flag: mount

There is a previous question (Docker Unknown flag --mount) facing the same error that was due to having an out-of-date version of Docker running. I have an up-t

Docker Image for NextJs ClientApp failing with an error Cannot find module '/app/server.js'

I am trying to create docker image for my nextjs application. It is working well in my local. My local node version is 16.14.0 My local nextjs version is 12.x

Docker build multiplatform asp.net core 5.0 app on armV7 with github action

I have a problem and I can't find a solution... I try to build docker image in a pipline with docker actions. My docker image build an ASP.NET core 5.0 app. All

How do I run Prisma migrations in a Dockerized GraphQL + Postgres setup?

I'm new to using Prisma as well as Dockerizing my setup. I would like to specify my data model using Prisma, have Postgres as my database and use that in a Grap

How to reduce my java/gradle docker image size?

I have a Docker file like the following: FROM openjdk:8 ADD . /usr/share/app-name-tmp WORKDIR /usr/share/app-name-tmp RUN ./gradlew build \ mv ./build/l

Problem with building Docker image from Dockerfile

my task is to create a docker container from my own Dockerfile using ubuntu:18.10 and run pdflatex in this container. My system is MacOs, my Dockerfile looks li

Docker Build COPY Pipfile Pipfile.lock Cache Key Error

I get this error when I try to build my Dockerfile. How can I fix this? failed to compute cache key: "/Pipfile.lock" not found: not found # Pull base image FROM

How use `echo` in a command in docker-compose.yml to handle a colon (":") sign?

Here is my docker-compose.yml, elasticsearch: ports: - 9200:9200/tcp image: elasticsearch:2.4 volumes: - /data/elasticsearch/usr/share/elasticsearch/da

Why is my env variable undefined when deployed to AWS?

I have a vue app I'm currently working on. I set the environmental variables in a file I named "config.ts" which contain codes similar to the code below: export

Syntax highlighting for Dockerfile in Sublime Text?

Is it possible to get syntax highlighting for a Dockerfile in Sublime Text?

Docker-Compose file has yaml.scanner.ScannerError

compose.yml file, which looks like this: version: '2' services: discovery-microservice: build: discovery-microservice context: /discovery-microserv

Docker Oracle Instant Client

I have been trying for 4 days to: Deploy Oracle Instant Client with Docker. I can give you the Dockerfile but it is 96 lines To use Oracle Instant Client on my

Why is this ENTRYPOINT incorrect?

My DockerFile has an ENTRYPOINT that just echoes ENTRYPOINT echo %windir%\system32\inetsrv\appcmd to the command window. This syntax works: ENTRYPOINT echo %wi

How can I set Bash aliases for docker containers in Dockerfile?

I am new to Docker. I found that we can set environment variables using the ENV instruction in the Dockerfile. But how does one set Bash aliases for long comman

Locked package.json files in Docker container using docker-compose

I'm using Docker for Mac and Docker Compose for development of a Node.js application and I'm experiencing an error with the package.json file being locked. The