Category "docker"

ErrImagePull: Kubectl and Minikube when creating a pod

I'm new to Kubernetes and learning it these days. I'm trying to create a deployment with the help of kubectl and every time I create a deployment, the container

docker mysql - The designated data directory is unusable

I have a mysql docker container that maps its data and logs directories onto a host path. The host paths are two separate zfs mount points. When I try to start

Can't connect to Redis Stack from ASP.NET application inside a container

I have an asp.net webApi application and using redis stack as the main database. I was able to connect to the database and perform operations normally till I ma

docker mysql - mis-matched host uid/gid

I have a mysql docker container that has its data and logs dirs separately mapped to host folders for performance reasons. I'm using docker-compose to start the

right way to deploy a django-rq worker

maybe it's a silly question, but I didn't found much while googling around. So I'm on the way to transform my development environment to a deploy environment. I

Localstack and python and docker-compose strange behaviour

I have created a docker-compose file for localstack and I'm using only services like s3 and SQS. It works fine and I could create a dummy SQS, S3 from localsta

Unable to install Redis extension in Docker php fpm-alpine image

This is my Dockerfile FROM php:8.1-fpm-alpine3.15 RUN apk update; \ apk upgrade; RUN apk add libzip-dev RUN docker-php-ext-install zip RUN apk add --no-ca

How to run aiosmtpd via Docker

My Dockerfile FROM python:3.10-alpine LABEL Description="test smtp server" EXPOSE 8025 COPY ./requirements.txt /app/requirements.txt WORKDIR /app RUN python -m

How to pass environment variable in docker-compose command from the terminal

In docker we can pass environment variable as docker run -e -e "TEST_SUITE=TNT-TestSuite.xml". Can I do the same or similar for the docker-compose? Right now I

Connecting to a remote FTP server from Docker container running within remote Linux server

The goal of my project is to be able to schedule run a program from a linux server which connects to a remote (existing) ftp server and transfers from files fro

Cannot deploy spring boot application with docker to aws elastic beanstalk with eb cli using docker compose

I have a problem here! I cannot deploy spring boot application to AWS Elastic Beanstalk with eb cli using docker-compose.yml Here my code! Here my simple API @R

Can't connect to etcd via etcdctl

I have deployed etcd server(3.5.0) as a container on Kubernetes and am able to access the /version and /metrics endpoints via the fqdn in HttpProxy on my local

“Unable to load DLL 'SQLite.Interop.dll' or one of its dependencies” running an application in Docker, but locally it works fine

Introduction There seems to be frequent issues with the SQLite.Interop.dll library. Just look at these other StackOverflow questions: Unable to load DLL 'SQLite

Add and start/stop containers with docker-compose dynamically

I have a docker-compose.yml file with some services, like web server, database and nginx. However, beside these services that are always up, I need a number of

Docker run hello world isn't workng [closed]

I don't know why but my docker recently have been getting a lot of bugs and I even re-installed him, but anyway I'm trying to do this basic c

Cron access to PostgreSQL in Docker

I've created a PostgreSQL instance via Docker and I can create tables and insert data etc fine. The issue is when I use crontab to do this. I'm using a Python s

Get docker mysql root password in a variable

I created a mysql docker container mysqlcontainer using following command: docker exec -it mysqlcontainer -d mysql/mysql-server I run docker logs mysqlcontaine

NodeJS Cannot Connect to Postgres at Dockerized Environment

I am trying to run a NodeJS application on Docker. However I get that error: could not connect to postgres: Error: connect ECONNREFUSED When I debug the proble

My docker run crash during the test phase of my gitlab CI

So i am quite new to the whole CI topic and im trying to run tests after my merge request in my pipeline. Except that when my command try to run the container i

Docker compose specify container network as host network

What is the docker compose equivalent of running a docker container with network of container === host network ? docker run --rm -d --network host --name my_ngi