Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alpine-linux]

Alpine Linux is a distribution for small, secure systems, based on busybox and musl

1
vote
0answers
13 views

How to prevent apk from overriding config files

So I've stumbled upon issue after issue every time I upgrade using apk upgrade that apk keeps on adding default config files without my consent, is there any way to have apk either never override/...
1
vote
0answers
39 views

Cannot mix incompatible Qt library (version 0x50c03) with this library (version 0x50c00)

I use alpine-php fpm docker container for developing and deploying a php application. I want to use wkhtmltopdf for generating pdfs. I installed by using apk add wkhtmltopdf But when I run it I ...
1
vote
1answer
85 views

/bin/sh: /usr/bin/wkhtmltopdf: not found

I installed /bin/sh: wkhtmltopdf /usr/bin/ directory. However when I try to run the program by entering /usr/bin/wkhtmltopdf to shell I receive an error /bin/sh: /usr/bin/wkhtmltopdf: not found. It ...
0
votes
1answer
24 views

Alpine 3.9.4 update busybox 1.30.0

I am using latest stable version of alpine 3.9.4 image. this image comes with busybox -1.29.3-r10. I need to upgrade to busybox 1.30.0. apk upgrade busybox command not upgrading the package. What is ...
1
vote
0answers
14 views

Set DM on OpenRC

How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager. E.g. on a systemd distro I'd do $ sudo systemctl enable ly.service but how do I do it here?
1
vote
1answer
64 views

Installation of Firefox on Alpine Linux

I'm trying to install Firefox on Alpine Linux. I ran $ sudo apk add firefox And a few hundred MBs later, it installed. However, when I ran firefox, it crashed with symbol not found errors and ...
0
votes
0answers
20 views

SSH control socket not working inside alpine-linux container on OSX

If I run the following on the Linux or Mac OSX host, I have no problem: # ssh -i id_rsa -MS ./ctrl -fTN -p22 -l root example.com # ssh -S ./ctrl -O check example.com Master running (pid=23384) ...
0
votes
1answer
41 views

Alpine linux, latest and greatest version of grep

I'm looking to install a version of grep in an Alpine Docker container thats a similar version to my host OS, v3.3. In hunting around online, I see the package is available for Alpine. However, on ...
0
votes
0answers
31 views

Install Alpine security updates only

Is there a way to install only security updates for Alpine Linux and its apk packages, skipping updates that don't fix security holes?
1
vote
1answer
49 views

Can I build openssh-portable source code in Alpine linux

For my projects I have to customize the openssh code and I am planning to build the openssh-portable(https://github.com/openssh/openssh-portable) source code in the Alpine linux. But I am getting the ...
0
votes
1answer
34 views

Why mount doesn't show full list of mounted files as appears in /etc/mtab and /proc/mounts [duplicate]

I created an alpine container with limited user. When I run mount it shows me the following mounted list: /home $ mount overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/...
1
vote
1answer
57 views

How to show details of error in Alpine apk

I use Alpine Linux 3.9.3 x86_64 when I issue: # apk upgrade the output is: 3 errors; 1973 MiB in 519 packages How can I get details about those 3 errors? I tried --verbose flag but result is same....
0
votes
0answers
79 views

How to install TeXLive on Alpine Linux?

Is it possible to install texlive with tlmgr utility (from tug.org)? same question for installing texmaker (or texstudio) latex editors from sources (rather than AppImage, flatpack or snap packages). ...
0
votes
0answers
30 views

How to make a fully bootable ISO from Alpine Linux Edge?

I would like to make an alpine installation iso which has the following attributes: During installation it has an answerfile so that the setup process (the setup script) takes those default inputs ...
2
votes
0answers
70 views

Alpine Linux Hangs During Boot at: “ successfully initialized wpa_supplicant”

I installed Alpine Linux on Intel Compute Stick with 32 Bit Atom Processor. After installation I followed the procedure laid out here for connecting to internet via wlan0 port: Connecting to a ...
1
vote
1answer
376 views

Alpine Linux apk add gives permission error

I'm trying to install packages in a docker image based on alpine. The host system is CentOS system, system-release: CentOS Linux release 7.6.1810 (Core). Here's what I do: # docker run -td alpine:3....
1
vote
0answers
106 views

alpine linux sys mode install on raspberry pi

I'm working with the armhf release of alpinelinux from https://www.alpinelinux.org/downloads/ on a raspberry pi 3b. I've installed a desktop extension card from https://www.newark.com/element14/pi-...
2
votes
1answer
435 views

Can't install openjdk8-jre in Docker Alpine Linux image

Alpine 3.7 and 3.9. apk add htop works fine. apk add openjdk8-jre hangs forever. Problem step: (25/36) Installing openjdk8-jre-lib (8.201.08-r0) usr/ (dir) usr/lib/ (dir) usr/lib/jvm/ (dir) usr/lib/...
0
votes
1answer
260 views

find: './proc/1/map_files': Permission denied

I am inside a docker container build atop of the image alpine:3.6 and I am trying to find if a directory exists. I get te error, find: './proc/1/map_files': Permission denied This is the commands I ...
0
votes
0answers
68 views

Alpine Linux--Wifi Not Working

I am running Alpine Linux from a custom ISO that I created using the extended profile as a base (following instructions Install packages into a custom Alpine Linux ISO? and https://wiki.alpinelinux....
0
votes
0answers
17 views

Alpine: persistent disk mounted to /media/sda even though fstab has /media/usb

I'm having some issues with Alpine Linux, running in "diskless" mode on ESXi. I have configured it following the instructions in the wiki. Here's the content of the fstab file: /dev/cdrom /media/...
0
votes
0answers
118 views

Tagging inteface traffic to VLAN in Linux based virtual router

I have alpine linux running on virutalbox which works as gateway for my other virtual instances resides on the virtualbox. technically alpine running as virtual router with ip forwarding and ...
0
votes
1answer
196 views

How to know the Bluetooth MAC address in Alpine Linux

I am deploying a docker in Raspberry Pi 3. Inside docker I need to know the MAC of Bluetooth device. Normally I would find that using hciconfig | grep "BD Address" | awk '{ print $3}' hciconfig ...
0
votes
1answer
119 views

Alpine Linux - can't build libtorrent, missing linux/netlink.h

I'm trying to compile libtorrent on Alpine Linux. autogen and configure work fine but after invoking make it fails with the following message: local_addr.cc:45:10: fatal error: linux/netlink.h: No ...
1
vote
2answers
162 views

Alpine version-sort

How to do sort -V in alpine linux? sort: unrecognized option: V BusyBox v1.28.4 (2018-12-06 15:13:21 UTC) multi-call binary. Usage: sort [-nrugMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[....
1
vote
1answer
77 views

How to get the source code used to build the packages of the base alpine linux docker image?

Why I want to know this: Currently I use apt-get source to get the source code for all packages within my Debian based docker images to comply with the GPL when I distribute the docker images. Now ...
0
votes
2answers
193 views

How to install AppArmor on alpine

I have a container with alpine image (docker:dind) and I want to install ApparMor inside it to see how it works before I put it on the host. I found ApparMor package in alpine repostiroy but I don'...
1
vote
0answers
95 views

Alpine/OpenRC networking fails to start (boot toofast?)

I am using alpine, my primary distro for servers is Arch with NetworkManager or the built-in "netctl". I installed Alpine onto a server. It boots up OK, but the networking never comes up on its own. ...
0
votes
1answer
217 views

Error installing Gearman on Alpine Linux

I've tried to install Gearman from source on Alpine, but it's gives an error: configure: error: Please install libgearman I tried to apk search libgearman, with no result, but in Ubuntu there is ...
0
votes
1answer
231 views

How to persist iproute2 routes and rules in Alpine Linux?

I'm trying to persist (between reboots) routes and rules from iproute2 in Alpine Linux, so far without success. Here are the commands: ip route add default via 192.168.200.1 dev eth1 table net2 ip ...
2
votes
1answer
104 views

Search for Emacs when using Alpine Linux

I am trying to test some software on Alpine Linux. I need to make some configuration changes so I need Emacs. emacs is the name of the package per Alpine Linux | Emacs. apk add emacs is failing due to ...
1
vote
1answer
140 views

How to set system wide umask in alpine?

This question may be same as https://stackoverflow.com/questions/10220531/how-to-set-system-wide-umask. But That is for debian based. I followed the instructions but I couldn't find any file named as /...
1
vote
2answers
503 views

How do you run wine in Alpine Linux?

I installed the wine package but it didn't work: apk update && apk add wine && wine /bin/sh: wine: not found
1
vote
0answers
63 views

Why my newly created user is not inheriting $PATH variable

I added a new user dev on my Alpine based image. After switching to the new user I see env variables are different in case of both root and dev user. Specially $PATH variable is different. But I think ...
0
votes
1answer
250 views

Alpine Linux - Ignoring APKINDEX : Bad file Descriptor

when I do apk update or apk add ..., gives me error below: fetch http://dl-4.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz ERROR: http://dl-4.alpinelinux.org/alpine/v3.8/main: Bad file ...
0
votes
2answers
648 views

apk tool gives permission denied

I get this error message running alpine linux in a docker container hosted by Ubuntu 18.04 in Vagrant with its host in turn being Windows 10 behind a proxy. I have set the proxy variables but still ...
1
vote
0answers
463 views

init script for alpine not working

I am trying to write an init script for gitea in alpine. The first code I tried was #!/sbin/openrc-run command=/usr/bin/gitea command_args="web" pidfile=/var/run/git.pid name="Gitea Daemon" ...
3
votes
1answer
619 views

Alpine: How to forcibly remove a package even if it would break dependencies?

I'm trying to build a super-minimal Linux with Alpine. I don't need linux-firmware as it installs firmware for everything, using up 300+MB of space. This is a stock installation. However I can't ...
0
votes
2answers
376 views

Alpine VM not saving after rebooting

I did setup-alpine then installed busybox-extras. After I rebooted the VM, it reverted to the initial configurations. Is it just for Alpine VM, or should I save it? I can't find any commands to save ...
1
vote
1answer
411 views

Porting openVPN config to Alpine Linux

I got an openVPN config file from my vpn provider. It worked great on Ubuntu, but on alpine, I got an error. The following lines fail: up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-...
1
vote
0answers
365 views

Creating a service in Alpine Linux to run Java application

I would like to deploy a spring boot application into a docker container. I had created the base image using Alpine Linux. My old configuration runs a service on Red Hat under this path /etc/systemd/...
2
votes
1answer
162 views

lldb hangs on Alpine Linux

I'm trying to run lldb on Alpine Linux V3.8, but when trying to debug any program, it hangs. I'm using lldb 5.0.1-r0 from the edge/testing repository, which is the only version available currently in ...
0
votes
2answers
425 views

Can't login to Alpine Linux due to a faulty keymap configuration

I have a fresh Alpine Linux 3.8.0 installed on a local disk, dual booted with Ubuntu 18.04. While trying to solve some GUI localization issue, I've entered a wrong keymap in setup-keymap. Sadly, ...
0
votes
0answers
137 views

Disable commands in Alpine Linux

I want to attempt to increase the security of some Alpine Linux Docker containers which run Nginx and other servers. I would like to disable commands like ls, cat, ed or sed, so that they are ...
1
vote
2answers
397 views

Alpine 3.8.0: Installing app, getting error: “Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y”

I'm trying to install VirtualBox (the host, not the client) on a clean install of Alpine 3.8.0 Standard. I'm using VirtualBox-5.2.12-122591-Linux_amd64.run, downloaded from http://www.oracle.com/...
1
vote
1answer
40 views

Is it possible to alternate between from addresses on alpine?

I added a few from addresses in Customized headers in Alpine's configuration, that allows me to edit the From field when composing email. Now I'm just writing them myself and I wonder whether there ...
1
vote
0answers
279 views

How to use Chinese/English keyboard in Alpine Linux

I recently replaced the US keyboard on my Thinkpad X200, with one that is a mixed English / Chinese keyboard (An example image of it can be seen here). Currently it is functioning as an impeccable ...
2
votes
1answer
393 views

How to enable busybox httpd on Alpine linux image

When trying to run busybox httpd in alpine:latest image it ends with error httpd: applet not found How can I install httpd applet into Alpine image?
0
votes
0answers
197 views

alpine linux apk add gives a temporary error

While a tool was giving lots of errors we decided to rebuild the server. However during the automated build process the following error occured: ERROR: pkgconf-1.3.10-r0: temporary error (try again ...
0
votes
1answer
2k views

Building .deb on Alpine

I'm very new to Linux overall and I'm trying to find a way to build a Debian package on an Alpine docker image. It is by far the fastest I can get my pipeline to run, but unfortunately when I try to ...