tagged [dockerfile]

Docker-compose check if mysql connection is ready

Docker-compose check if mysql connection is ready I am trying to make sure that my app container does not run migrations / start until the db container is started and READY TO accept connections. So I...

Failed to solve with frontend Dockerfile

Failed to solve with frontend Dockerfile I am pretty new to Docker and am trying to build a Docker image with plain HTML, but I have this error message, saying > failed to solve with frontend dockerfi...

25 Sep at 21:35

Is there a way to combine Docker images into 1 container?

Is there a way to combine Docker images into 1 container? I have a few Dockerfiles right now. One is for Cassandra 3.5, and it is `FROM cassandra:3.5` I also have a Dockerfile for Kafka, but t is quit...

21 Sep at 21:4

An assembly specified in the application dependencies manifest was not found:

An assembly specified in the application dependencies manifest was not found: I developed application in asp.net-core 2.0 preview1. I developed on windows with Visual Studio 2017. Now I want to deploy...

28 Jul at 15:33

standard_init_linux.go:211: exec user process caused "exec format error"

standard_init_linux.go:211: exec user process caused "exec format error" I am building the Dockerfile for python script which will run in minikube windows 10 system below is my Dockerfile Building the...

Python app does not print anything when running detached in docker

Python app does not print anything when running detached in docker I have a Python (2.7) app which is started in my dockerfile: prints some strings when it is started and goes into a loop afterwards: ...

11 Oct at 12:59

Install .NET Framework 3.5 on Windows Server Core Docker

Install .NET Framework 3.5 on Windows Server Core Docker I am struggling to install .NET Framework 3.5 on docker container. I have 4.5 installed already, but need 3.5 to run one Service. Here is my Do...

23 Jun at 09:1

Multiple RUN vs. single chained RUN in Dockerfile, which is better?

Multiple RUN vs. single chained RUN in Dockerfile, which is better? `Dockerfile.1` executes multiple `RUN`: `Dockerfile.2` joins them: Each `RUN` creates a layer, so I always assumed t

24 Dec at 01:26

appSettings.json for .NET Core app in Docker?

appSettings.json for .NET Core app in Docker? I am running a .net core app in a docker container. Here is my docker file (just to build a dev environment): I have an appSettings.Development.json file ...

/bin/sh: apt-get: not found

/bin/sh: apt-get: not found I am trying to change a dockerFile to work with aspell. I have a bash script that I want to wrap in a dock > Step 4: Wrap the script in a Docker container.The sample SDK we...

22 Sep at 21:15

Installing Java in Docker image

Installing Java in Docker image This is my very first try to create a Docker image and I'm hoping someone can help me out. My Dockerfile looks roughly like this: ``` FROM mybaseimage:0.1 MAINTAINER .....

28 Jun at 09:22

Rebuild Docker container on file changes

Rebuild Docker container on file changes For running an ASP.NET Core application, I generated a dockerfile which build the application and copys the source code in the container, which is fetched by G...

Dockerfile CMD instruction will exit the container just after running it

Dockerfile CMD instruction will exit the container just after running it I want to setup some configuration when my container starts, for this I am using shell scripts. But my container will exits as ...

21 Jun at 07:59

Request against localhost relative url "Cannot assign requested address"

Request against localhost relative url "Cannot assign requested address" I have a visual studio 2017 [ / 2019 ] asp.net core web app project enabled with docker support using `FROM microsoft/dotnet:2....

ARG or ENV, which one to use in this case?

ARG or ENV, which one to use in this case? This could be maybe a trivial question but reading docs for [ARG](https://docs.docker.com/engine/reference/builder/#arg) and [ENV](https://docs.docker.com/en...