Category "docker"

Select interpreter of docker container in the vscode

In vscode, we can install the python extension, then select the interpreter which we want, like python in the conda environment. So we can use "shift" + "enter"

Can't fetch user info from Keycloak using Python on docker compose

I need to run, from docker compose, three containers: a fastapi server, a keycloack server and a postgres database. This works well if I run the uvicorn command

Docker rabbitmq doesn't work with RABBITMQ_DEFAULT_USER and RABBITMQ_DEFAULT_PASS

I'm trying to run rabbitmq service with following configuration: version: '3.9' services: rabbit-mq: container_name: rabbitmq image: rabbitmq:3-manage

Is there a way to deploy x86 images on a Apple silicon (ARM) using docker stack?

We have a docker stack compose file using services built for x86. To get our dev-setup running locally on my Apple silicon/m1/ARM chip, I tried to deploy the st

Error: docker buildx on x86_64 for building multiarch--x86_64, arm64

I just make multarch images by using buildx When running docker buildx build --platform linux/amd64,linux/arm64 -t maskertim/zookeeper-demo . Error Message The

Dockerfile doesn't write files to host only to container

What I want is for this dockerfile to clone into the host machine (mine) and I'll copy it over as a volume, but instead it's cloning it directly into the contai

Snort3 docker container cannot start DAQ with "permission denied" on interface

I have installed snort3 via the official docker container. When I use docker cp to copy in pcap files snort scans the pcaps just fine. However, when running IDS

Azure function deployment in KEDA/AKS

I have an azure function written in node js, triggered by a new message in Azure storage queue. It is working fine locally. My goal is to trigger function pod o

Ubuntu: using docker with snap and firewall is a problem

On a ubuntu 21.10, using docker as a snap (snap install docker). With my firewall enabled, i have a problem resolving DNS: $ docker run bash ping www.google.com

starting container process caused: exec: "uvicorn": executable file not found in $PATH: unknown

I'm trying to Dockerize my FastApi app, but it crash with this error right after I run the command, docker-compose -f local.yml up -d. Some one can help me plea

How to run asp.net web api with docker container without https?

I am trying to run an asp.net web api with docker container but I get status code 400 (Bad request) as the response when I send a request to the api. The api w

Docker build command using Buildkit secrets fails in Gitlab

My Dockerfile (somewhat redacted here) looks like this: FROM python:3.9.9-slim-bullseye WORKDIR /tmp RUN --mount=type=secret,id=token echo "$(cat /run/secret

Inject a binary into a Docker Image

I need to create automation to inject a binary (security tool) to every docker image(pre-built) that is going to be promoted to higher envs (Promote To Prod), w

Running Omnibus Gitlab in Docker with Container Registry

I'm running gitlab on docker with a relative url my.domain.com/gitlab/. I have a nginx reverse proxy which passes the requests. Everything seems to be working f

Hasua GraphQL docker engine hammering jwk endpoint

I'm using firebase for the jwk, my docker-compose looks like this: version: '3.6' services: postgres: image: postgres:12 restart: always volumes:

Set Java/JRE default settings which can be overridden by JAVA_TOOL_OPTIONS

I have multiple java spring boot services, which are running in docker containers and are configured via docker-compose. Each of those services need several jav

How to use --spec flag in env when using cypress

I can start my cypress tests using: docker run -it --env-file=.env -v $PWD:/e2e -w /e2e/cypress cypress/included:9.6.0 --spec cypress/integration/test/**/*-spec

Dockerfile: Cannot find module '/usr/src/app/dist/main' - Dist folder does not exists on container

I'm having the following error when trying to execute my NestJS App with Docker: > [email protected] start:prod > node dist/main node:internal/modules/cj

Docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/ (Path here) /merged : too many levels of symbolic links

I am trying to run minikube with the following command: minikube start --driver=docker but it keeps giving me this error: docker: Error response from daemon: e

Command in dockerfile doesn't take effect

Below is my dockerfile. After the dependencies are installed, I want to delete a specific binary (ffmpeg) from the node_modules folder on the container, and the