Category "docker"

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

How to permanently save the path of the identity file in pgAdmin4

Context I'm using this pgAdmin4 docker image: https://hub.docker.com/r/dpage/pgadmin4/ in its latest state (version 6.9 at the time of writing). And I am curren

Docker: In Dockerfile, copy files temporarily, but not for final image

I have a Java service I'd like to package, and the only thing the final docker image needs is the JAR file and a config file. However, I need to run my gradle

Docker C++ development and CI

I want to use the docker to dockerize my C++ projects. The Internet has recommendations that it is better to use 2 containers - development and product. But I d

How can I redirect http to https using traefik?

I am running into a slight issue with redirecting http to https traffic with Traefik. So far, my https router with acme is working fine, but I have two problems

Using ARG and ENV in Dockerfile

I am learning how to use ARG and ENV in Dockerfiles. I have this simple Dockerfile: ARG my_arg ARG other_arg=other_default FROM centos:7 ENV MY_ENV $my_arg E

How to fix error "Error: Database is uninitialized and superuser password is not specified."

Hello i get this error after i run docker-compose build up But i get this error postgres_1 | Error: Database is uninitialized and superuser password is not spec

Can I run an intermediate layer of a Docker image?

When I fetch a Docker image from a repository I see that it pulls a bunch of layers with some ids, but when I try to run them using docker run it tells me that