run docker container with timer (delay)
I'm running 20 container in my docker, i have some issue if all run at same time, after 5 containers run the rest will be show too many request in each the logs. how to setup delay 1 minute or…
I'm running 20 container in my docker, i have some issue if all run at same time, after 5 containers run the rest will be show too many request in each the logs. how to setup delay 1 minute or…
I try install docker like this on EC2 amazon linux and I found this error # Install Docker sudo yum install -y docker sudo systemctl enable docker sudo systemctl start docker sudo usermod -aG docker ec2-user permission denied while trying…
I have the following Dockerfile: # set the base image FROM ubuntu:latest # set python image FROM python:3 # run update and setup functions RUN apt-get update && apt-get -y upgrade RUN apt-get install -y build-essential python-dev-is-python3 RUN apt-get install…
I've setup an OpenFGA project, using the provided docker container. I've written a short node.js script to initialise the store locally, setup the model, add some test tuples, and add some assertions, then test all these. With typescript and tsx…
I use docker compose to run my application on a VPS server. It consists of a golang backend and PostgreSQL DB. While the backend connected to the DB completely fine on my PC, it fails to do so on the…
I'm creating a restAPI in nestjs. I inserted docker and added MongoDB and API to different ports. when I start the docker container I cannot connect to the database. Here is my docker-compose.yaml file: services: reservations: build: context: . dockerfile:…
I am building a Docker image for the Node.js app. The issue is when I try to run it, I am getting an error as: on:0,verify:0,log:0],prefetch=(available=true,default=false),"}} backend-server | 2024-10-13T19:23:58: PM2 log: Launching in no daemon mode backend-server | 2024-10-13T19:23:58: PM2…
I have an Azure Function written with .NET 8 and that uses the isolated worker model. I want to write integration tests for this function and therefore want to spin it up in memory. I looked into WebApplicationFactory but it…
I am executing my Jenkins build in a docker agent. I need to provide additional arguments to the docker run command, one of which is --group-add. The agent section of my Jenkinsfile looks like: agent { docker { image "maven"…
I'm trying to get an isolated worker model Azure function to run in a container, but it fails with the following error: Unhandled exception. System.InvalidOperationException: The gRPC channel URI 'http://:' could not be parsed. Here is my dockerfile FROM mcr.microsoft.com/dotnet/sdk:8.0…