How to get /etc/profile to run automatically in Alpine / Docker

How can I get /etc/profile to run automatically when starting an Alpine Docker container interactively? I have added some aliases to an aliases.sh file and placed it in /etc/profile.d, but when I...

how to get logs in a haproxy:1.5-alpine Docker container

Building an haproxy container from haproxy:1.5-alpine (https://github.com/docker-library/haproxy/blob/1848d2933afbefd0e0a068dc7b5a753ab7842e6c/1.5/alpine/Dockerfile) The haproxy container start...

alpine package py-pip missing

Im trying to install python pip in my alpine using Docker compose file but get the following error. ERROR: unsatisfiable constraints: py-pip (missing): required by: world[py-pip] ERROR:...

What is .build-deps for apk add --virtual command?

What is .build-deps in the following command? I can't find an explanation in the Alpine docs. Is this a file that is predefined? Is see this referenced in many Dockerfiles. RUN apk add...

Jenkins pipeline/docker :Jenkins does not seem to be running inside a container

I'm trying to execute the sample of code found in Jenkins Pipeline here : https://jenkins.io/doc/book/pipeline/docker/ node { /* Requires the Docker Pipeline plugin to be installed */ ...

How to add image in Flutter

I am developing Flutter app for the first time.. I have an issue in adding a image. I have a below questions : Where to create images folder? Where to add assets tag in pubspec.ymal? Is there any...

docker-compose "No such file or directory" for sh-command

I am setting up docker-for-windows on my private pc. When I set it up a while ago on my office laptop I had the same issue but it just stopped happening. So I am stuck with this: I have a...

Environment variables not being resolved in Kubernetes Java deployment

After learning about arguments that can be passed to a Java 8 Virtual Machine to make it container-aware (i.e. -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap), I am trying to...

docker-compose/django TypeError: expected str, bytes or os.PathLike object, not NoneType

I'm trying to set up my Django and postgres dev environment with docker so I can run it on other machines more easily as well as run everything from 1 terminal window (I'll be adding my react...

How to create a queue in RabbitMQ upon startup

I am trying to start RMQ inside docker container, with precreated queue qwer. Prior to this, I was using simple docker-compose.yml file: rabbit: image: rabbitmq:management-alpine ...

Which libraries should I install for work with System.Drawing.Common in ASP NET Core application inside Alpine-based image

I have the following code in dotnet core 3.0 application: ... // This url returns image (Content-Type: Blob) var imageUrl =...

Failed to install gcc on Python-3.7-alpine docker container

I am trying to set up a Python docker container, when I run the command "docker-compose up" to build the Dockerfile it throws me this error message below. The docker file was successfully built...

Docker difference postgres:12 from postgres:12-alpine

Docker hub contains several versions(tag) of Postgres db such as: 12.3, 12, latest 12.3-alpine, 12-alpine, alpine -... What is diff between postgres version 12.3 and 12.3-alpine?

kubectl patch: Is it possible to add multiple values to an array within a sinlge patch execution

I tried to use kubectl patch to add two more values to the args list of a kubernetes deployment. I've gone over the officially documented...

What is the output of loop task in argo?

As per the Argo DAG template documentation. tasks.<TASKNAME>.outputs.parameters: When the previous task uses 'withItems' or 'withParams', this contains a JSON array of the output parameter maps...

Error with Pillow library when dockerinzing Django app

I develop Django apps in Windows environnement and deploy my apps in production in Linux server. Python 3.8.3 I have a Django project that works (in dev and prod) and I try to "dockerize" it but I...

The dreaded Java SpringBoot app not connecting to MySQL with Docker-compose java.net.ConnectException: Connection refused

I have been struggling with the following issue - the dreaded Java SpringBoot app not connecting to MySQL with docker compose exceptions: com.mysql.cj.jdbc.exceptions.CommunicationsException:...

WSL isn't working in VS code. What could be the problem here?

Hello I'm newbie using an Linux environment and VS code. I've used windows terminal to access on WSL2 and it worked well. I'm trying to set up development environment but WSL isn't working in VS...

Blazor and AlpineJS -- click away from child Component

I am trying to make a dropdown section appear when a user clicks on a card. It's a Blazor WebAssembly project using .net 5. Alpine has cool animations, so I am trying to use that, but it gives an...

how to make static files works using django docker nginx and postgresql since its not serving them

When i try to access http://127.0.0.1:8000/admin, i get this. my folder structure is : django-react-nginx | |_ _ docker-compose.yml | > backend | |_ Dockerfile | ...

Copy letsencrypt files to docker container

Im not an expert with docker, I am just getting used to it. I want to copy ssl certificates, which are generated on the host machine to my docker container. I read that it should be able to do...

Symfony 5 Fast Track: Database access error

I'm trying to go through the aforementioned tutorial, but I get stuck on the stage between Step 7 and 9 - when the database goes into action. On local server I get An exception occurred in...

How do you perform a HEALTHCHECK in the Redis Docker image?

Recently, we had an outage due to Redis being unable to write to a file system (not sure why it's Amazon EFS) anyway I noted that there was no actual HEALTHCHECK set up for the Docker service to...

GitLab CI collapsible regions are behaving weird

I'm trying to ouptut custom collapsible regions on Gitlab CI, using the recommendation as per the GitLab CI docs, however this isn't working as expected. I'm running the docker:20.10.7 image which...

Docker user namespace isolation: permission denied with bind mount

I enabled user namespace isolation as depicted in archwiki and on docker documentation. However, when I try to use a bind mount: # this is fish shell $ docker run --rm -it -v (pwd)/bmount/:/bmount...

Alpine with jdk11 as base docker image

I have a base Dockerfile used by a bunch of services, looking like this: FROM adoptopenjdk/openjdk11:jdk-11.0.11_9-alpine-slim There were some security fixes for Linux Alpine, and I'd like to...

OpenJDK Java 17 docker image

We are upgrading our microservices in docker to use Java 17 and previously we used the base image openjdk:11-jre-slim. What is the corresponding image for Java 17? There doesn't seem to be a...

Docker Alpine: unable to select packages: python (no such package) while building image for ARM

I have Node.js app that uses SQLite database. To use it on ARM architecture, I need to build sqlite3 binaries so I need some packages while building Docker image. Here is my Dockerfile: FROM...

Windows 10 WSL2 Docker build fails with /bin/sh: /usr/bin/create-user.sh: not found

I am trying to build an image on Windows 10 WSL2 Docker. My dockerfile is: FROM i386/openjdk:8-jre-alpine MAINTAINER Digital Life Studios EXPOSE 8888/TCP COPY ["create-user.sh", "startup.sh",...

Open Chrome with Rails Feature Spec using Docker

I can't figure out how to make the feature specs work when running non-headless feature specs for Rails in Docker. I can get the Chrome to open, but I'm getting ERR_EMPTY_RESPONSE (basically,...