Category "docker"

SQL scripts in Dockerfile is skipped to run if I attach the deployment to a persistent volume

I create a new image base on the "mcr.microsoft.com/mssql/server" image. Then I have a script to create a new database with some tables with seeded data within

Spring Boot JDBC microservices cannot connect to MySQL in docker

I have 2 Spring Boot microservices that need to connect to a MySQL service which itself is deployed in Docker. I'm using Docker Compose but for some reason they

Python/Docker - Unknown server host 'db' when migrating

I am trying to migrate a program using python manage.py db migrate in my Visual Studio terminal but when I run it I am getting an error named (2005, "Unknown se

Docker container not starting locally

I am running into issues trying to start my database locally with Docker. I keep receiving the error: 2022-03-05 15:43:51+00:00 [Note] [Entrypoint]: Entrypoint

How do I install and configure Docker on Ubuntu-like systems (Kubuntu)

i tried using ddev with Linux Kubuntu and did as proceeded as described here: https://t3terminal.com/typo3-tutorials/install-typo3-docker-ddev/ means: // Instal

How to test a dockerized application in an Azure DevOps (Server) pipeline?

I have a simple python dockerized application whose structure is /src - server.py - test_server.py Dockerfile requirements.txt in which the docker base image

empty response - Docker Container ASP.NET CORE 6

I got stuck on this for quite some time and i don't know why it doesn't work. I looked into posts similair to mine but i can't fix it, (tried checking the firew

How to speed up building .net solution in docker

My current setup: App.sln src\ ----BaseProject\ -------------Dockerfile -------------BaseProject.csproj ----ProjectA\ -------------Dockerfile -------------Proje

How to stop and start Docker container from bash script Synology?

Hey guys so I'm on a synology DS218+ and I'm running docker and hosting my own instance of gitlab in it. So now I'm trying to write an update Script with bash.

Replacement in python package in Docker

GraphQL is still not supported in Django 4, so to use it I need to change the line: "from django.utils.encoding import force_text" to "from django.utils.encodin

Docker container does not respond to http request

I'm trying to send an http request through axios, from my localhost (node server) to a docker container (which contains a simple server in node too) which belon

NestJS controller not mapped

So I have an API that will be deployed in a docker container. This API has the authentications controller, simple and not something special. When I start up th

docker container users/groups: can you actually create and use them in heroku?

I know the official Heroku guidance is "don't use privileged users/groups in docker containers", but what I wonder is, can you even create and use your OWN user

VSCode Remote Containers automatically copy file from host to docker container on save

I am finding many answers on how to develop inside a container in Visual Studio Code with the Remote Containers extension, but surprisingly none address my use

Docker image Prune Filtering

Currently I am running while true; do docker system prune --all -f; sleep 6400; done In a daemonset to remove older images in my containers. Th

when i use docker-compose to install a fastapi project, i got AssertionError:

when I use docker-compose to install a fastapi project, I got AssertionError: jinja2 must be installed to use Jinja2Templates but when I use env to install it,

Error io_setup() failed (38: Function not implemented) in Nginx for ARM M1

I have a docker container with nginx. I run it on a macbook with an M1 chip and get the io_setup error() failed (38: Function not implemented).

network_mode: service:<serviceName> not working correctly

I am trying to configure a docker-compose stack with a container that connects to a VPN, and another container that exposes an HTTP service which is reachable o

Colima | Pushing ECR on AWS | failed to create LLB definition

Recently, docker desktop became paid software so I installed colima on MacOS Now, when I am trying to push my code to AWS ECR using the following command: aws e

Run ES docker image with custom port using testcontainers

I want to run a container tests that running ES image via Docker. After some research I found https://www.testcontainers.org/ and they also have a built-it ES m