Questions tagged [alpine]

Alpine Linux is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

Alpine Linux (https://alpinelinux.org/) is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

97 questions
19
votes
4 answers

What does Alpine's APK stands for?

Alpine Linux uses apk as its package manager, and its installer files are .apk... Just like Android files are. Are those related in any way? If yes, how? If not, what does APK stands for (Alpine PacKage?), and why they choose the same name for their…
igorsantos07
  • 620
  • 7
  • 13
14
votes
2 answers

Installing openjdk 11 on alpine:3.9

I'm trying to build an alpine docker image with openjdk 11. To do so, I'm starting an alpine container: docker run -it alpine:3.9 /bin/sh And running the following: export JAVA_HOME=/opt/openjdk-11 export PATH=$JAVA_HOME/bin:$PATH export…
Thiago
  • 287
  • 1
  • 2
  • 7
8
votes
1 answer

Alpine shell can't find file in docker

I've set up a simple docker container with Alpine and a tool called bowtie2. When I try to run bowtie2-align-s, I get this error: sh: ./bowtie2-align-s: not found However, ls tells me that the file is there. I installed bowtie2 from a Linux binary…
Don Kirkby
  • 1,354
  • 3
  • 11
  • 23
8
votes
3 answers

Alpine Linux timezone doesn't stick if tzdata is removed

This used to work to set the timezone. I have a container on Alpine 3.9.4 where it worked: RUN apk add --no-cache tzdata ENV TZ America/Chicago RUN apk del tzdata I'm now creating a Docker container with Alpine Linux v3.10.3, and it doesn't work…
mbomb007
  • 185
  • 1
  • 7
6
votes
2 answers

Alpine Linux apk: List out directly installed packages by `apk add`?

Is it possible to list packages directly installed by apk add? e.g. apk add docker, apk add lm-sensors file, etc. Running apk info lists ALL installed packages (including dependencies of installed packages), but I want to narrow this list down to…
5
votes
1 answer

Converting a systemd service to OpenRC (Alpine Linux)

So I'm currently merging an XMPP server with a Signal gateway for efficiency (running each service in a separate VM eats resources like nobody's business) and I need to convert the service script for the gateway to work on the XMPP's Alpine (short…
Darkness
  • 73
  • 1
  • 8
5
votes
3 answers

gcsfuse on Alpine Docker

I try to use gcsfuse in order to store application source code on a GCP bucket, here's my Dockerfile: ARG VERSION FROM golang:1.12.5-alpine3.9 as gcsfuse-builder ENV GOPATH /go RUN apk --update add git=2.20.1-r0 fuse=2.9.8-r2 fuse-dev=2.9.8-r2…
Guikingone
  • 51
  • 1
  • 2
5
votes
3 answers

Alpine linux on AWS / EC2 : how to login with my public key?

I'm trying to install Alpine Linux (v.3.6) on Amazon AWS EC2 via a standard community AMI. I provided my valid ssh key, which does work with all other instances (Amazon Linux) in the same VPC. However, I can't login to the instance. What is the…
whip
  • 53
  • 1
  • 4
3
votes
0 answers

How does a unix socket shared through a Docker volume work compared to TCP?

I'm wondering how Docker manages a unix socket when it's shared across containers and how it affects the performance compared to just using TCP. What I'm trying to accomplish is setting up docker-compose to build an php-fpm, nginx and mysql…
3
votes
1 answer

Unable to ssh into running dropbear sshd. "Bad password attempt" ...But password is correct

For some reason, a running dropbear sshd i've got going in a Docker container is telling me Bad password attempt , even though i've doublechecked multiple times that both username and password is 100% correct. Dropbear is being started by…
DhP
  • 161
  • 2
  • 6
3
votes
0 answers

Installing Chromium on Alpine Linux, strange error

I have a Dockerfile setup to install Alpine and Chromium. A few weeks ago the package was working properly and I was able to build with it properly however recently I'm having trouble with the build failing on a Chromium dependency. Here's the…
ddibiase
  • 133
  • 1
  • 5
3
votes
0 answers

Alpine Linux - root mounted as ro iso9660 filesystem how can I remount as rw overlay?

The root filesystem is an iso9660 mount. / # mount |grep iso /dev/sr0 on / type iso9660 (ro,relatime) Is there a way to remount root, using aufs in order that I can install packages, compile code, etc?
Bryan Hunt
  • 47
  • 2
3
votes
1 answer

openssh hangs with 100% cpu when compression is used

The ansible openssh server hangs with 100% cpu, when compression is requested (ssh -C) ssh -vvv -C root@host [...] debug3: send packet: type 50 debug3: receive packet: type 52 debug1: Enabling compression at level 6. debug1: Authentication succeeded…
allo
  • 1,620
  • 2
  • 22
  • 39
3
votes
1 answer

Change Alpine Linux default shell

Alpine defaults to ash as the login shell, I want to change it to bash. What I did so far: installed bash by sudo apk add bash installed shadow by sudo apk add shadow I changed my user's login shell to /bin/bash with chsh checked that /etc/passwd…
elsni
  • 425
  • 1
  • 4
  • 8
3
votes
0 answers

Docker compose permission denied when PHP-FPM trying to create directory

I have this docker-compose I'm experimenting with. Im using fastCGI from Nginx to run the script. The docker-compose.yml: version: "3" services: psqldb: build: context: . dockerfile: docker/psql/Dockerfile args: …
1
2 3 4 5 6 7