Category "docker"

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

Why Jest tests are SOMETIMES failing on CircleCI?

I have Jest tests that are running against the dockerized Neo4j Database, and sometimes they fail on CircleCI. The error message for all 25+ of them is : thrown

Issue with Docker on Linux (Ubuntu + Fedora): "filesystem layer verification failed for digest sha256"

docker run hello-world works just fine, but when I try to pull with docker and docker-compose I get this error every time. I also tried Podman and had the same

Would psutil.cpu_percentage depict a true CPU usage of a docker container running in Kubernetes?

I want to monitor CPU percentage usage of a Docker container and get alerted when it reaches a certain threshold. My application is running in a Docker containe

minikube cluster will not pull in images

I am having issues pulling in my images of my minihkube kubemaniest file for what ever reason. Here is how it looks: apiVersion: v1 items: - apiVersion: v1

Container volume not mounting to local path

Python Code: with open("/var/lib/TestingVolume.txt", "r") as outFile: data = outFile.read() with open("/var/lib/TestingVolume.txt", "w") as outFile: out