Category "dockerfile"

Cannot deploy spring boot application with docker to aws elastic beanstalk with eb cli using docker compose

I have a problem here! I cannot deploy spring boot application to AWS Elastic Beanstalk with eb cli using docker-compose.yml Here my code! Here my simple API @R

“Unable to load DLL 'SQLite.Interop.dll' or one of its dependencies” running an application in Docker, but locally it works fine

Introduction There seems to be frequent issues with the SQLite.Interop.dll library. Just look at these other StackOverflow questions: Unable to load DLL 'SQLite

Docker compose specify container network as host network

What is the docker compose equivalent of running a docker container with network of container === host network ? docker run --rm -d --network host --name my_ngi

Installing python package from private gitlab repo in Dockerfile

I'm currently trying to install python packages from a private gitlab repo. Unfortunately, I get problems with the credentials. Is there any way to install this

Content not from webpack is served from /opt/app/public directory

i have a simple application with react and typescript that display hello world on localhost:8080. When i run my application on command line it works and i see t

Docker image has error when running from R Studio

My Dockerfile contains the exact code as shown in the statworx website to build an image for a Shiny app. Whenever I run the following code however: # Base imag

.net 6 minimal api docker issue: error CS5001: Program does not contain a static 'Main' method suitable for an entry point

I have seen a number of similar questions but none seem to represent exactly the issue I am facing. When I create a folder structure as follows: ./ ./src ./src/

Uncaught Error: Class 'Service\UsersService' not found

I'm trying to run my php-based application, which connects to a mysql DB, launched through docker-compose. i get this message when i connect to localhost: Fatal

Dockerfile RUN command multiple inputs

I have a Dockerfile using which I am trying to build an image. I wish to have multiple inputs fetched from the user from STDIN, when the build runs. To get star

Docker image over growing

I have 3 simple docker files. In every file I install python3 on the base image centos:7, oraclelinux:7-slim and alpine:latest. The python3 installation process

What is the difference in the user defined in Dockerfile and docker-compose file?

I have a Dockerfile as below: FROM jenkins/jenkins:latest USER root RUN whoami USER jenkins RUN whoami and this docker-compose file version: '2' services:

Creating an image with Docker and resources outside the main directory

I try to build an image with Docker (10.20.13 on RH 7.9). But some of my resources are outside the Dockerfile directory. Below is my tree : /dir1 ├─

Docker Compose ports are being ignored on up

This is my Docker Compose file containing 4 api containers: version: '3.4' services: api1.api: image: ${DOCKER_REGISTRY-}api1 build: context: .

dockerfile, output evaluated commands

Is there anyway to have docker create output the evaluated line? for example # Dockerfile COPY ${SRC}/file . will echo Step 1/1 COPY ${SRC}/file . I want it to

Docker-Compose Parse Dashboard

I am trying to run parse dashboard via the following docker-compose.yml: version: '3' services: mongo: image: mongo ports: - 27017:27017 vo

Generating files in Docker vs. Docker Compose

I am learning Docker and have a little confusion that I would greatly appreciate some advice on. When creating a new rails application. Following the guidelines

"no main manifest attribute, in server.war" not using a main class

What I'm trying to do is have Docker run a TomEE 8.0.0 application with Maven. However when compiling the application, it gives me the error from the title no m

docker: failed to compute cache key: "/requirements.txt" not found: not found

I tried to build a docker image with the following command: docker build -< Dockerfile I did it in the mail directory of the app. I found this command somewh

Docker merge containers [closed]

I have running multiple containers separately which connected to each other using defined network in docker-compose.yml and my application is

Cannot import functions in from one directory's subfolder to other pyhton files in same parent directories sub folders. How do I use init.py files

parent_folder / subfolder1 / subsubfolder1/ a.py b.py subsubfolder2/ c.py d.py e.py subfolder2 / subsubfolder2/ f.py g.py subfolder3 / h.py i.py g.py I want to