Questions tagged [alpine-linux]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
501 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" ...
0
votes
1answer
76 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
16 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?
2
votes
1answer
20 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/...
2
votes
2answers
373 views

How to find out if there is a package with certain command in AlpineLinux?

Specifically I'm trying to find out what pakage I have to install in order to get disown command in docker based on Alpine Linux? Moreover it would be nice if someone could enlight me how in general I ...
0
votes
1answer
41 views

Which OS should I choose for a lightweight base for a VM? [closed]

I'm a junior Linux user with a very old laptop. After upgrades, I'm working with the following: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz (11 years old) 8 GB of RAM 1.5 TB of SSD space ...
2
votes
2answers
28 views

logrotate with only size option does not rotate. This is inside Alpine docker container

I have below configuration for access logs cat /etc/logrotate.d/logrotate_nginx.conf /nginx/access/logs/*.log { rotate 2 size 1k missingok compress notifempty copytruncate } There is no ...
0
votes
1answer
1k views

Alpine Linux - how do I define packages to load on boot?

It seems that Alpine Linux loads packages up when it boots. How do I add openssh to the packages that are loaded at boot time? When I am logged in I do "apk info" which lists 16 packages as follows: ...
0
votes
1answer
915 views

Install packages into a custom Alpine Linux ISO?

I have followed the steps successfully as described below https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage I can add a package which will be available for apk add when ...
0
votes
1answer
19 views

does “Ignoring APKINDEX” mean the image does not install apk search command tool?

I am trying to use this docker image big-data-europe/docker-spark, based on "Alpine Linux v3.8" when I try to search sbt apk search sbt I got WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such ...
1
vote
1answer
35 views

wget content-disposition ubuntu vs alpine

In Ubuntu, I can use the following wget flag to get a debian, i.e., wget --content-disposition https://packagecloud.io/xxxxx/download.deb dpkg -i ... In Alpine, wget complains that --content-...
7
votes
3answers
8k views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build -...
1
vote
0answers
81 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
129 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
44 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 ...
2
votes
2answers
613 views

How to determine apk package name from search results

On Alpine Linux, given the results of an apk search, how do I determine the package name to give to apk add? For example, suppose I forgot the how to spell "lighttpd", or I forgot exactly what the ...
1
vote
1answer
102 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 ...
2
votes
2answers
4k views

Drop packets with PREROUTING in iptables

The filter table is best place to drop packets, agreed. But, out of the box, Docker bypasses INPUT filter rules with PREROUTING to its own FORWARD rules making Docker containers world-accessible. ...
0
votes
0answers
27 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
70 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
1answer
35 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
59 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 ...
3
votes
1answer
4k views

Alpine Linux sometimes DNS is not resolved

Sometimes when I run the commands: sudo apk update && sudo apk upgrade Over Alpine linux fails to update the packages even if connected to internet. But if I do sudo su "echo 'nameserver 8.8....
2
votes
1answer
117 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 ...
2
votes
3answers
519 views

internet in alpine virtualbox in macos

I am installing alpine 3.4.6 os in virtualbox 5. I got following network adaptors, But none of these are allowing to have internet in the virtualbox. I chose to use dhcp while setting up using ...
1
vote
3answers
110 views

Is there a version of Audacity that will run on Alpine Linux?

I was trying to get the Gentoo version from the Audacity website, but as far as I can tell, Audacity is not ready for Gentoo Linux yet. Anyone know if the Ubuntu version will work on Alpine? Or one ...
1
vote
1answer
6k views

ERROR: unsatisfiable constraints: tor (missing)

I'm trying to add alpine package tor and getting a following error: root@linode:~/# docker run -it alpine /bin/sh / # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX....
1
vote
1answer
109 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....
1
vote
1answer
2k views

Alpine Linux run a startup script to change the /etc/issue

I have done the following shell script that update the /etc/issue with the current ip's of all non-loopback interfaces: #!/bin/sh echo "You can use one of the following ip addresses in order to look ...
0
votes
2answers
232 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'...
0
votes
0answers
944 views

Testing OpenSSH logging

I'm attempting to turn on logging inside OpenSSH running in an Alpine Docker container. I made sure to install rsyslog and start the daemon with /usr/sbin/rsyslogd. My sshd logging settings are as ...
2
votes
1answer
1k views

Networking failed to start on Alpine linux

I keep getting an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface ...
0
votes
0answers
103 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
46 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
95 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
127 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
0answers
147 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 ...
2
votes
1answer
630 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/...
1
vote
1answer
536 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
2answers
589 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
126 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-...
0
votes
1answer
346 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
89 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
1answer
416 views

How to resize Alpine Linux terminal in VirtualBox?

Please help me with info, how to resize terminal window of Alpine Linux inside the VirtualBox so that it would fill all the host virtualbox window. Alpine version: virt-3.7.0 VirtualBox version: 5....
0
votes
0answers
19 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
1answer
103 views

How to install audit2allow on Alpine Linux 3.5?

I am coming from an apt-get background and am now trying (and failing) to use Alpine Linux's apk utility for package management. I try running apk install audit2allow and end up with a help message ...
0
votes
1answer
237 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 ...
3
votes
2answers
4k views

Install apk tool on Alpine Linux

I'm fiddling with a Docker image, built from a Virtualbox VM using Packer. The image is Alpine Linux 5.3.0, but apk seems to have been removed. How can I reinstall apk, or build it from source? ...
0
votes
1answer
136 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 ...
2
votes
2answers
230 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[....