Questions tagged [alpine-linux]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
446 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
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 ...
1
vote
1answer
1k views

alpine-linux command takes forever

I am experimenting with alpine-linux and it is not working as expected. I try and use pip install cryptography but it takes forever and stops at this incomprehensible output Running command /usr/...
0
votes
1answer
419 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....
2
votes
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 ...
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....
1
vote
2answers
3k views

Installing php7 on alpine: missing libcrypto and libssl

I tried to setup a LEMP stack over Alpine GNU/Linux Distribution running on a VM WITHOUT docker. Then I tried to install the php7-mysqli over via community repositories with: sudo apk add php7-...
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 ...
5
votes
1answer
6k views

How to install Microsoft true type font on Alpine Linux?

I would like to create a Docker image using Alpine Linux and LibreOffice to render PDF documents. The LibreOffice source documents are using Microsofts Times New Roman font. How can I install ...
0
votes
1answer
347 views

Alpine with hotmail | SMTP | cannot send email

Dear Unix and Linux Community, I would like to use my hotmail account through alpine. I am using the POP3 protocol, and I am able to access the email from my Inbox. However, I am unable to send any ...
2
votes
1answer
190 views

What Happens to /dev/bus/usb After 1001 Connections

/dev/bus/usb/*/* lists all the usb devices connected on Alpine Linux. For example a phone could be /dev/bus/usb/001/009. When that phone is reconnected it will be /dev/bus/usb/001/010, i.e. it ...
0
votes
1answer
223 views

Alpine Linux - restrict su -l to wheel group

What's the best way to restrict su -l only to people who are in a specific group? I'm on Alpine Linux. I've already added linux-pam package but I'm not able to make it run. That's my current /etc/pam....
2
votes
2answers
3k views

“configure: error: cannot run C compiled programs” when compiling gcc on Alpine Linux

I am trying to build gcc-7.3 on Alpine Linux. When I run make, I get these errors, checking whether the C compiler works... configure: error: in `/build/x86_64-pc-linux-gnu/libgomp': configure: error:...
0
votes
1answer
647 views

How to configure libinput on alpine linux?

For test purposes I installed alpine on my laptop. (It contains pretty much only the minimal default packages and wayland/sway.) When I try to run sway everything looks fine, but mouse and keyboard ...
0
votes
1answer
242 views

Simulate connection problems in container

I am debugging an issue with application which connects to RabbitMQ. So I have docker-compose file with 2 containers: my app and RebbitMQ. I would like to see what is going on if there are serious ...
20
votes
3answers
5k views

Why does Linux network traffic only go through eth0?

I got two NICs on the server side, eth0 ? 192.168.8.140 and eth1 ? 192.168.8.142. The client sends data to 192.168.8.142, and I expect iftop to show the traffic for eth1, but it does not. All networks ...
1
vote
2answers
3k views

sshpass not functioning in alpine linux

When I install sshpass on alpine linux it will install and the doc will show up if you run it without arguments, but using any argument (valid or invalid) returns sshpass: Failed to run command: No ...
4
votes
2answers
2k views

crond log level meaning

I cannot find anywhere the log level meaning of crond. I know that 0 is pretty much "log everything" while 8 is "show only important info" thanks to the crond help: / # crond --help BusyBox v1.26.2 (...
2
votes
1answer
678 views

Unable to start NFS server on Alpine Linux LXC

I'm trying to setup a NFS server on an Alpine Linux LXC running on Proxmox by following the instructions as outlined here, but rpc.statd refuses to start. Here's an excerpt from /var/log/messages ...
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
1answer
193 views

How can I boot alpine-linux from CF card (in Soekris net4801)?

I've installed according to https://wiki.alpinelinux.org/wiki/Create_a_Bootable_Compact_Flash#Automated and successfully activated serial console as outlined in https://wiki.alpinelinux.org/wiki/...
0
votes
1answer
251 views

Alpine Linux - find nouser and nogroup keywords not working

I want to find unowned and ungrouped files. On other Linux distributions, I use find / -user nouser find / -group nogroup But, the above does not work in Alpine Linux? What are the alternate ...
0
votes
1answer
377 views

Finding out coreutils incompatibilities between Alpine and “normal” Linux (eg. Ubuntu)

I've fighted with non-working gitlab build. I've needed to sanitize output of psql by removing some non-printables, I've found out the command: <psql invoke> | tr -cd [:print:] Happily ...
2
votes
0answers
374 views

tlp stops working after suspend and resume

I use tlp for power management on my Asus UX305FA, and it improves battery time from ~7h to about ~11h. However, apparently it stops working after I close and open lid, which causes acpi to perform ...
1
vote
1answer
421 views

OpenSMTPD Pipelining not supported messages

I'm using OpenSMPTD 6.0 (6.0.2p1-r2 installed from alpine repository) in docker container to send emails from PHP app. Everythings works OK but from time to time I see the following messages in ...
0
votes
1answer
2k views

Alpine Linux VirtualBox VM With xfce4 Desktop Not Able to Use Full Screen Resolution

I have an installation of alpine linux running in a virtualbox vm with slim + xfce4 for the desktop engine. Kernel Version: I have tried with both the latest (3.6.2) Standard and Virtual Kernel from ...
0
votes
1answer
2k views

Can we run 32bit Programs on Alpine Linux?

I recently installed a jenkins using docker using the official image from blueocean. It is based on alpine linux. Now I cant run 32bit programs on it $ /opt/android-sdk-linux/build-tools/25.0.3/...
0
votes
1answer
129 views

Alpine clear screen before login page s

On Linux alpine is it possible to clear the screen before the login prompt is shown. I cant run commands from inside /etc/issue, so i am stuck in how to do it
0
votes
1answer
123 views

Creating alpine package adding extra files

I am trying to create my first alpine package that does the fallowing install docker (done) install diaglog (done) copy an script (comes with the package) and places in an folder in /opts/ create an ...
2
votes
2answers
1k views

How to load Alpine Linux backed up configuration on boot?

I am running Alpine Linux by using the alpine-standard-3.6.2-x86_64.iso image on VMWare Workstation 12.5.5. Following this guide I've been able to configure, among others, root password, keyboard ...
3
votes
0answers
2k views

Why is crond failing to run a non-root crontab on alpine linux?

I am having a nasty time running a non-root crontab file on Alpine Linux. I've been through two other cron related posts and I don't have an answer: https://askubuntu.com/questions/23009/why-crontab-...
1
vote
2answers
2k views

Alpine Linux unable to install hping; ERROR: unsatisfiable constraints

hping is available on Alpine. https://pkgs.alpinelinux.org/contents?branch=edge&name=hping3&arch=x86&repo=testing However when I tried to install it, I'm getting the following error ...
0
votes
1answer
920 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 ...
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 ...
0
votes
1answer
243 views

Time difference between two ISO8601 dates with fractional second part

I receive the following time stamps from Alpine Linux: 2017-04-25T07:19:53.946109551Z 2017-04-25T07:19:53.946155414Z How do I decode them and know how much time has passed between them? The ...
3
votes
1answer
2k views

“send-mail: Applet not found” when using mail command on alpine linux

I am using alpine linux running in a docker container to run a webapp. The webapp is supposed to send emails using the mail command from the command line. To support this, I have installed mail as ...
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? ...
2
votes
1answer
729 views

Alpine Installation with preseed cfg

I would like to install Alpine using preseed.cfg. However, I cannot find one online. Does alpine support preseed in the first place? If yes, is it possible to edit another preseed and adopt it for ...
0
votes
1answer
190 views

Alpine Linux 3.4.6 x86 Standard qemu boot failed

I've been following the direction on their wiki. However, I get the following: sudo qemu-system-i386 -cdrom ../alpine-3.4.6-x86.iso -hda alpine.qcow -boot d -net nic -net user -m 256 -localtime ...
2
votes
3answers
523 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 ...
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
2answers
3k views

Install Node.js 4 on Alpine Linux

I am new to Alpine Linux and I tried to install Node.js 4. According to this I can specify the version like this: apk add nodejs=4 I also tried this because I though maybe it doesn't understand ...
5
votes
1answer
2k views

Return status of Busybox `timeout` command

I'm writing a shell script that's supposed to function on various different distributions, some of which are using busybox and some are not. This script uses the timeout command to figure whether a ...
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....
2
votes
2answers
376 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 ...
1
vote
0answers
843 views

Docker with Alpine Linux with Ioncube Loader and PHP 5.6 / 7

I tried two different Docker images alpine:edge with PHP7.0.10 (ionCube Loader Beta8) and alpine:3.4 with PHP 5.6.25 (ionCube 5.1.2, ioncube_loader_lin_5.6.so). I figured so far that PHP7 needs to be ...
11
votes
2answers
7k views

How to search for a file in apk packages

I would like to know, given a binary's name, which package I should install on Alpine Linux. How can I do that?
18
votes
3answers
27k views

How to solve “tar: invalid magic” error on Linux Alpine

I'm installing sqlite on Alpine Linux. I download sqlite-autoconf-3130000.tar.gz but tar could not open it. I tried this answer but it's not working. tar gives this message: tar: invalid magic tar: ...
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 ...
3
votes
1answer
3k views

GPG Key Generation Fails on Alpine Linux Docker Image

I've performed the following test on a docker alpine linux: ole@MKI:~$ docker run --rm -it alpine /bin/ash / # apk add --update duplicity fetch http://dl-4.alpinelinux.org/alpine/v3.3/main/x86_64/...