Category "docker"

Django static Files not loaded on Docker?

I am using Django 3.0.6 and want to dockerize my project. everything is worked fine except static files. Static files are loaded completely when I run my projec

Installing GNU-Parallel: How to enter "will cite" from docker build?

In the docker file: from debian:latest RUN apt-get install parallel RUN parallel --citation <<< "will cite" And the docker build simply does not c

Docker exec command is failing with EXIT CODE 137

I am running a CICD pipeline that runs a test script inside a docker container with docker exec and its failing with a return code of 137 every 3rd or 4th time.

Tag a Docker container as latest in Azure DevOps

I'm trying to build a Docker container and push it to Azure Container Registry. For that, I created this azure-pipeline.yml # Docker # Build and push an image t

Access denied when making connection from php container to mysql container

I’ve been searching the web for hours but do not find any solution to my problem. I have 3 containers: - nginx - php - mysql They are all connected to th

how to generate core file in docker container?

using ulimit command, i set core file size. ulimit -c unlimited and I compiled c source code using gcc - g option. then a.out generated. after command ./a.o

Docker "ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network"

I have a directory apkmirror-scraper-compose with the following structure: . ├── docker-compose.yml ├── privoxy │&nbs

Can't login to ODK Central Admin panel

My ODK central was working perfectly fine before I decided to update it to the recent release of ODK using this URL (https://docs.getodk.org/central-upgrade/),

Docker for Windows cleanup

I'm using docker for Windows to launch a MSSQL server. Everything is working fine except for the fact that my harddrive is now full. I've used all the cleanup c

Add shell or bash to a docker image (Distroless based on Debian GNU/Linux)

I want add shell or bash to my image to execute installation command. I have copied the /bin/bash on my VM on to my image on Dockerfile: COPY /bin/bash /bin/

Pass argument to docker compose

In my docker compose file there is a dynamic field which I'd like to generate during the running. Actually it is a string template: environment: - SERVER_U

Docker: can't install torch

Dockerfile: FROM cityflowproject/cityflow WORKDIR /usr/TrafficMannager RUN apt-get update && apt-get upgrade -y && apt-get clean RUN pip inst

how to provide environment variables to AWS ECS task definition?

In the task definition on ECS, I have provided environment variable as following: Key as HOST_NAME and the value as something.cloud.com On my local I use this d

TypeORM migration results in PostgreSQL error

I am having an issue running migrations with TypeORM (with the intent of establishing my database for use in local development). In running a migration on the i

Postgres - testing database connection in bash

I wonder if there is an alternative to the psql command to test the connection to a postgresql database using bash. I'm setting up a Core OS cluster and have a

Docker Desktop Kubernetes Unable to connect to the server: EOF

Earlier today I had increased my Docker desktop resources, but when ever since it restarted Kubernetes has not been able to complete its startup. Whenever I tr

How to proxy both WSGI and ASGI via Uvicorn or Daphne with nginx and SSL proxy?

I have a small project that uses Django Channels (websockets) and it works fine locally. I've added SSL to my docker-based deployment with the letsencrypt-compa

Docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection

Since yesterday out of nowhere I'm not able to pull images anymore. And I can't login into docker with docker login. The same error appears: Error response fro

Websocket error when using a proxy_pass to CRA development server using Nginx and Docker

I am trying to proxy_pass in Nginx to my React dev server at localhost:3000. It currently works but I am seeing an error in my console which I am unsure will ca

Why does Docker Desktop uninstall hang?

I'm trying to uninstall Docker Desktop (it doesn't launch) so that i can reinstall it again, I have tried updating it , It keeps telling me that i have the late