Category "docker"

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:

Command timed out errors while RabbitMQ is running on Azure container instance

I'm using rabbitmq:3-management docker image on Azure container instance with the following path mounted on Azure storage account /var/lib/rabbitmq/mnesia Somet

Pass build argument to bash command in Dockerfile

Currently, my workflow is to use an alias for the jupyter lab command via RUN echo 'alias...' at the end of my Dockerfile: RUN echo 'alias jupyterlab="jupyter l

Docker not found when building docker image using Docker Jenkins container pipeline

I have a Jenkins running as a docker container, now I want to build a Docker image using pipeline, but Jenkins container always tells Docker not found. [simple

Docker compose - restrict internet access, allow egress only through proxy

I am trying to replicate restricted production environment on my local development environment using Docker compose. Application containers shouldn't be able to

PHP Xdebug, VSCode, Docker & MacOS - debugger not disconnecting

I've encountered a weird problem that seems to have either started appearing when the Xdebug extension was updated or Visual Studio Code received an update. Whe

PHP Xdebug, VSCode, Docker & MacOS - debugger not disconnecting

I've encountered a weird problem that seems to have either started appearing when the Xdebug extension was updated or Visual Studio Code received an update. Whe

How to use Github Actions with a Docker container with a different architecture

I would like to automate the building of an application I am writing. I want to build it for ARM64/v8 (aarch64) and amd64 (x86). I successfully created a Github

connection refused deploying elasticsearch on kubernetes

I'm trying to deploy elasticsearch on kubernetes. When I login to the docker container with kubectl exec -c elasticsearch -ti elasticsearch-0 -- bash and run c

Visual Studio 2019 - Docker 4.1.1 - Web App Stops Working After Adding Container Orchestration

This is sort of strange. As soon as I add docker orchestration in Visual Studio 2019 my Web Application stops working. These are the exact steps that I am takin