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.

92 questions
17
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
  • 520
  • 5
  • 13
12
votes
1 answer

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
  • 267
  • 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,154
  • 3
  • 10
  • 23
7
votes
1 answer

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
  • 171
  • 1
  • 4
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
4
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
  • 41
  • 1
  • 2
4
votes
4 answers

Git, WSL2, SSH: unexpected disconnect while reading sideband packet

While attempting to clone a remote Git repo using SSH I got the following error: git clone user@remote-repo:project.git . remote: Counting objects: 187444, done. remote: Compressing objects: 100% (73430/73430), done. client_loop: send disconnect:…
amateur barista
  • 478
  • 3
  • 7
  • 21
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

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
  • 53
  • 1
  • 8
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
  • 4
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,524
  • 1
  • 19
  • 35
3
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…
2
votes
1 answer

Alpine Linux: fatal: privsep_preauth: preauth child terminated by signal 31

I have some containers with Alpine Linux. Yesterday I updated two of them from v3.8 to v3.10. OpenSSH server was upgraded from 7.7_p1-r4 to 8.0_p1-r0. After that, the client is unable to login. Note: Using default sshd configuration, nothing…
lepe
  • 468
  • 1
  • 6
  • 23
2
votes
1 answer

Arbitrary vlan interface name - undocumented configuration?

Today i was playing around with ethernet adapters and vlans in Alpine Linux. I tried to give the interfaces arbitrary names. After looking at the source i had the following example working Ethernet adapter named lan01 configured as DHCP client and a…
eKKiM
  • 1,483
  • 9
  • 22
1
2 3 4 5 6 7