Category "docker"

Proxy server nginx config - 502 bad gateway error

I have a fastapi as backend and an html file as a frontend which are supposed to be running on docker. Here are my file structure: C:. | docker-compose.yaml |

"Invalid Host header" error when access AWS ECS through load balancer

I used AWS ECS to deploy my docker app and after successful deployment I can access to the application with public IP address given without any problem. But whe

Unable to import mlflow, getting ModuleNotFoundError: No module named 'mlflow'

Unable to import mlflow in a .py script. ModuleNotFoundError: No module named 'mlflow' The script runs in a python:3.7-stretch Docker container Use requirement

Install Diesel error (3 errors) - failed to compile 'diesel_cli v1.4.1'

I'm trying to install database migration utility on my machine and run into multiple errors when trying to run in Powershell. Postgres 13 running I've installed

Create and deploy Micronaut AWS Lambda GraalVM Native Image CRUD Application to handle APIGatewayV2HttpEvent by delegating to Controller

I am trying to deploy (via Docker) a CRUD Micronaut AWS Lambda (Function/Application?) that should handle APIGatewayV2HTTPEvent requests and should compile into

Create Postgres Docker Image with Database

How to Create Postgres Docker Image with Data? I have this folder/file structure: - initdb - 01-createSchema.sql - 02-createData.sql - Dockerfile The Docke

Laravel 9 on PHP 8.1 slow responses - out of the box

I am using out of the box Laravel 9 / php 8.1 combo and loading initial page for 190ms sounds horrible. Last project I built used laravel7 and the response time

Windows Docker encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified

I'm fairly new to Docker and trying to build a Windows container, but running into this issue when I go to run it. Any help would be appreciated. (base) D:\src\

How can I use snowflake jar in Bitnami Spark Docker container?

I was able to create docker based bitnami stand alone spark instance and run spark jobs on it. However I'm not able not able to write data to snowflake from the

What is the difference between docker tag and docker image tag commands?

What is the difference between the docker tag and docker image tag commands?

why does python3.6 container uses the /usr/lib of python 3.9

I start a docker contain with FROM python:3.6 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get install -y apt-utils vim curl apache2 apache2-ut

Mongo Authentication failed after docker-compose up

I'm trying to automate my local dev environment with a mongo docker instance. If I up the image with no users or auth, I can connect fine but when I try to crea

Docker Failed to Initialize on Windows

Here, I have problem regarding pulling docker-dev in docker image for making my development environment but when I tried to pull docker-dev. I got the error lik

SQLite: Cannot run a cached statement

I am using Orthanc inside Docker volume volumes: - /mnt/win_share/test:/var/lib/orthanc/db/ Orthanc.js file path for sqlite "StorageDirectory": "/var/lib/

How to run android app (.apk) inside a docker container without emulator

I want to run android apps inside a docker container to run them on Linux. I know there are ways to run android apps using some tools like Anbox or Genymotion b

failed to mount local volume

I'm trying to execute docker-compose for this configuration: version: '3' services: db: hostname: db.magento2.docker image: mariadb:latest

How to add "ProcessLabel" in a docker container

For my Docker container Selinux is enabled and set to "Enforcing" mode. We have 2 container running in our system. But for one container both "MountLabel" and "

Where is the bug in docker-compose?

I run a simple project (docker-compose and nginx), but it don't work and I do not know why. I include the entire code of the project so as not to miss anything.

Access host database from service located in a docker container

If I have a Postgres database running on the host machine (os: Linux), and some service running in a container of docker-compose. How would I access the databas

Authenticate docker running locally - azure

I have managed identity enabled on azure AML and can access the AML workspace when running the code locally via vscode as it is authenticated by the current ses