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
0answers
530 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
221 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
694 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
215 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
484 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
57 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
329 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
520 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
2k 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/...
1
vote
2answers
561 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
5k 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
121 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 ...
6
votes
1answer
7k 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
425 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
219 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
256 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
751 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
298 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
4k 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
3k 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
760 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
5k 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
215 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
276 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
438 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
414 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
493 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 ...
1
vote
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
157 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
2k 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 ...
4
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
1k 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
724 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
278 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 ...
4
votes
2answers
5k 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
887 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
200 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
588 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 ...