Category "docker"

Cannot connect to docker daemon in intellij in ubuntu with snap

In Intellij Ultimate docker is not detected automatically. I choose "create new", but i get the message, that i cannot connect to docker daemon at unix /var/run

Could not connect to MLFlow model hosted on Docker

I hosted a model inside a docker container. On running the DockerFile, It runs the following command: mlflow models serve -m model --port 8080 --no-conda It ser

Running test with testcontainers as part of a Dockerfile

My dockerfile looks something like this: FROM maven:3-jdk-11-slim COPY pom.xml . COPY src src RUN mvn clean install That means that part of the build is the

Don't use layer cache, but do use mount-cache when using docker+buildkit

When using buildkit, using the docker cli frontend, I sometimes do not want to use layer-cache, but do want to rely on the newer mount-cache type. RUN --mount=

Connect WSL2 SQL Server localhost instance from Windows 10

I had setup a WSL2 Ubuntu. Now I am running a local SQL Server instance on the 1401 port using Docker. Container port: 0.0.0.0:1401->1433/tcp I would like

Install libmysqlclient-dev along with npm in dockers

I have an error when trying to install the libmysqlclient-dev package together with npm for some reason when installing libmysqlclient-dev it removes npm Step 1

Docker Portainer 'failed copying supplied certs: File doesn't exist'

I'm trying to run the portainer docker with tls. This is my docker command: > docker run -d -p 9443:9443 -p 8000:8000 \ > --name portainer --restart a

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in /usr/app/node_modules/postcss/package.json

Did a docker-compose up to build my project, but there's something wrong and I am getting this error: node:internal/errors:464 ErrorCaptureStackTrace(err);

Could not find 'Use Docker Compose V2' check box to disable v2

I could not run the containers and got this message: Docker Compose is now in the Docker CLI, try docker compose up ERROR: An HTTP request took too long to comp

Proxy pass to a sub directory using nginx

I've got 2 Docker instances running, 1 being an SPA React app client and the other one is NodeJS api. I want to setup Nginx on my Ubuntu server to handle reques

GitHub Actions - Specify Multiple Tags with docker/build-push-action@v2

Is there a way to specify multiple tags when using docker/build-push-action@v2? I tried specifying multiple tags separated by a space or comma and they both fai

How to add bearer token for prometheus job

I have started working on the Prometheus for my microservices. I was able to achieve it initially. Now, it's time to push the actuator endpoint under the spring

Jupyter get stuck in docker container

I have created a jupyter_lab docker and usually it works quite fine but sometimes it get stuck. Usually i could never reproduce this problem but now, apparently

Copy dockerfile files ADD instruction in superset

I have the following DockerFile FROM apache/superset:pr-19860 RUN pip install elasticsearch-dbapi RUN superset superset fab create-admin \ --user

Docker: Update container with ZERO downtime

I have a discord bot running with docker and docker-compose, how can I update the image of the container without any downtime? Its very important for me, that t

how to solve kong first reqtest delay problem, how to restrict access to some routes, how to do instrumentaion

I have a microservices structure with a few services based on python/Django The structure is as below: user <===> kong <===> alpha <===> kong

Unable to commit a container in Docker with Jar file

I have a created a Jar file using spring boot project and the container name is clever_bohr and i want to commit the container using the --change='CMD ["java","

Running Docker in WSL2, facing git login problem

I'm trying to run docker in WSL2. I installed Ubuntu and it starts fine, I configured my git access with ssh key stored in .ssh and tested the access with ssh m

where to add certificates with rootless docker

I have some private docker registries and I added their certificates in /etc/docker/certs.d/[domain.name.com]/ca.crt and it's working but my problem is that I h

Docker Compose MongoDB docker-entrypoint-initdb.d is not working

I am using following docker-compose file version: '3.7' services: db_container: image: mongo:latest restart: always environment: MONGO_INITDB_ROOT_