Category "docker"

How to prevent docker containers from accessing my local network

I would like to be able to prevent docker containers connected to a bridge network from accessing my local network in order to add extra security since they wil

Getting "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution" in Uvicorn server in Docker environment

I am getting the below exception while making a call from my project- My code is deployed on Docker and inside it running python uvicorn server. I have double c

Assigning /32 ip addr to containers with docker compose Ubuntu 20.04

as you might quickly notice, I'm not a network nor a docker guru. I appreciate all help big time! I'm trying to run a two applications in two different docker c

How should I go about writing code that runs on a schedule that will run on multiple containers without race conditions?

I'm wanting to write a service in nestjs that polls another service on a schedule. The problem is that if I have multiple containers how can I make sure one and

"Failed to initialize Lua VM with Passenger on Docker

I'm trying to setup a development environment that uses docker but the passenger docker image gives me this error over and over again. [1] development-passenger

Unable to connect externally (docker, linux)

I followed the docker install on an old laptop running Linux Mint una Last night I set up DDNS with noip.com and managed to connect to wow (on the same network)

ASP.NET EF Core Database update on Mac using docker image Azure Sql Edge

I am new to mac and got Azure Sql Edge running using docker image. This is the command I ran to run the image. docker run -d --name SQLServerImg -e ACCEPT_EULA=

Use Docker with same port as other program

I am currently facing following problem: I build a docker container of a node server (a simple express server which sends tracing data to Zipkin on port 9411) a

Symfony- docker container Could not open input file: bin/bash

I started my Symfony 6 project with Docker successfully. I have a problem when accessing the PHP container and trying to run php bin/console doctrine:migrations

docker container has a too large file descriptor limit (ulimit -n)

I'm trying to figure out why a container shows a very large limit of open file descriptors: At the host: bld@nos 14:27:20 0 ~/dev/ (master) $ ulimit -Hn 4096 bl

nginx in Docker - returns "server" directive is not allowed here

I have dockerized an Angular application with the following Dockerfile and nginx.conf. The container works fine in Docker desktop. When deploying in Kubernetes

Map the docker compose volume from container to host is not working

I have a very simple nextjs application where I have two folders which I like to map to the host (developer system) while I deploy this application inside docke

How to fix problems in docker postgres connection?

Tried to raise docker postres + docker flask. Neither of them was raised! I read some guides and watch videos about postgres and flask in docker, but stil can't

How to deploy a compose file in docker swarm which is present in Worker node

In system1(i.e Host name of Master node), the docker is started using docker swarm init And later the Compose file available in system1 (*.yml) are deployed usi

Undefined volume with Docker Compose

I wanted to translate this docker CLI command (from smallstep/step-ca) into a docker-compose.yml file to run with docker compose (version 2): docker run -d -v s

docker build command tries to connect https to insecure registry

I have an issue to build my image, because docker build is connecting via https. failed to solve with frontend dockerfile.v0: failed to create LLB definition:

Dockerized Vue app - hot reload does not work

Dockerized Vue app loads normally to the browser, when applying changes to the code are not reflected without refresh. Dockerfile FROM node:14-alpine # make th

Why is Portainer ignoring my certificate even though I have specified --sslcert and --sslkey?

I have Portainer CE 2.9.2 running in a docker container. I'm starting it with the --sslcert and --sslkey options to specify my own certificate, but the browser

Apache Druid - docker build for arm architecture

I'm trying to run Apache Druid on M1 Mac with an ARM 64 processor as docker containers. This works fine as it runs via emulation. But I've encountered two issue

Error when login to Docker container using Molecule

I have this Molecule configuration: --- dependency: name: galaxy driver: name: docker platforms: - name: instance1 image: docker.io/pycontribs/centos: