Latest posts

Installing pandas in docker Alpine

Problem I am having a really hard time trying to install a stable data science package configuration in docker . This should be easier with …

unable to add certificates to alpine linux container

Problem I have a small python app inside an alpine linux container, here is the dockerfile: FROM alpine # basic flask environment RUN apk a…

Installing ssh-keyscan on Alpine linux?

Problem In order to successfully clone a private repository into an Alpine-based docker, I needed to run the following command: ssh-keyscan …

How can I install Docker inside an alpine container?

Problem How can I install Docker inside an alpine container and run docker images? I could install, but could not start docker and while run…

ERROR: unsatisfiable constraints using apk in dockerfile

Problem I'm trying to install postgis into a postgres container. Dockerfile: FROM postgres:9.6.4-alpine RUN apk update \ &&…

How can we install google-chrome-stable on alpine image in dockerfile using dpkg?

Problem I am trying to install google-chrome-stable on alpine image using dpkg. However, the dpkg is installed but it does not install google…

docker alpine /bin/sh script.sh not found

Problem I'm trying to build a docker image that has the openjdk:8-alpine as base. The problem is when I try to execute a script.sh , re…

psycopg2 installation for python:2.7-alpine in Docker

Problem To use PostgreSql in python I need to pip install psycopg2 However, it has dependency on libpq-dev and python-dev. I wonder how…

Does Alpine have known DNS issue within Kubernetes?

Problem Lately, we've faced some DNS issues with micro-services based on Alpine image (node:12.18.1-alpine) on EKS when trying to resolve…

Where to set system default environment variables in Alpine linux?

Problem I know, with Ubuntu, you can set default values for environment variables in /etc/environment ; I do not see that file in Alpine linu…

UnrecognizedClientException error when authenticating on aws-cli

Problem When I pull a clean Alphine Linux Docker image, install aws-cli on it and try to authenticate myself with aws ecr get-authorization-…

Docker alpine image's basic commands are not working

Problem docker started to produce weird bugs when I was using a few simple alpine based containers. Two of these problems are: rc-update w…

How do I install XDebug on docker's official php-fpm-alpine image?

Problem I'm using wordpress:php7.1-fpm-alpine which is based on php:7.1-fpm-alpine ( https://github.com/docker-library/wordpress/blob/m…

docker can't build because of alpine error

Problem Hi I am trying build a docker and Docker file looks like this. FROM alpine LABEL description "Nginx + uWSGI + Flask based on A…

Getting apt-get on an alpine container

Problem I have to install a few dependencies on my docker container, I want to use python:3.6-alpine version to have it as light as possible,…

Installing numpy on Docker Alpine

Problem I'm trying to install numpy in a docker container based on Alpine 3.1. I'm using the following Dockerfile: FROM alpine:3.1 R…

How to install Go in alpine linux

Problem I am trying to install Go inside an Alpine Docker image. For that I downloaded tar file from here inside my alpine docker image, unt…

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

Problem How can I get /etc/profile to run automatically when starting an Alpine Docker container interactively? I have added some aliases to…

Docker Alpine Linux python (missing)

Problem I have a pipeline which deploys my container from GitLab. Last deployment was 5 days ago and went without any problems. Today I deplo…

How to add trusted root CA to Docker alpine

Problem Suppose I am at network where there is MITM SSL swaping firewall (google.com is not issued by Google, but reissued by custom CA root …

Docker Alpine executable binary not found even if in PATH

Problem I have an alpine running container which contains some binaries in usr/local/bin When I ls the content of usr/local/bin I got this…

Installed Go binary not found in path on Alpine Linux Docker

Problem I've got a Go binary I'm trying to run on the Alpine Docker image. This works fine for the Docker Go binary. docker run -it…

Docker Node Alpine Image Build Fails on node-gyp

Problem I'm attempting to Dockerize a Vue.js application. I'm using the node:10.15-alpine Docker image as a base. The image build fa…

alpine package py-pip missing

Problem Im trying to install python pip in my alpine using Docker compose file but get the following error. ERROR: unsatisfiable constraints…

GCC can't find stdio.h in Alpine Linux

Problem In a fresh Alpine Linux I installed GCC by apk add --update-cache gcc but still a simple program #include <stdio.h> int mai…

Is there a best practice on setting up glibc on docker alpine linux base image?

Problem Is there a best practice on setting up glibc on docker alpine linux base image with correct paths so any spawned process can correctl…

How do I run a Bash script in an Alpine Docker container?

Problem I have a directory containing only two files, Dockerfile and sayhello.sh : . ├── Dockerfile └── sayhello.sh The Docker…

Alpine Add Package from Edge repository

Problem If I'm using Alpine 3.8, how can I add a specific package from the Alpine Edge repository? Is this even supported? There is no eq…

Java 11 application as lightweight docker image

Problem Inspired by question Why is the Java 11 base Docker image so large? (openjdk:11-jre-slim) I found that this topic in Java world is s…