Questions tagged [alpine-linux]

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.

Filter by
Sorted by
Tagged with
0
votes
2answers
38 views

Why does the “id” command in Linux show the same group twice?

For some reason as I was exploring Linux users and groups, the id command on a user I created in an Alpine container gives the following: # id botmyaccount uid=10001(botmyaccount) gid=10001(...
0
votes
0answers
57 views

Getting logger to log to rsyslog in alpine

I installed rsyslog on my Alpine-based system to replace busybox syslogd. After completely disabling syslogd in openrc, enabling ryslog at boot and rebooting, all services correctly started logging to ...
0
votes
0answers
25 views

alpine diskless install mount ext4 with specified user and group permission

How can I mount an ext4 formatted disk on startup with a specific user and group on an diskless Alpine installation? When I mount the disk and change the user and group with chown and chmod it is not ...
0
votes
2answers
16 views

Ansible Run Analysis tool :Exception during the install of mysqlclient using pip3

I want to use a mysql engine/database with ARA instead of the default sqlite engine that comes with the tool in order to have a more robust engine for multiple entries but I am facing an issue that ...
0
votes
1answer
17 views

Error while running ARA server on Alpine linux

I am trying to install the latest version of the Ansible Records Analyzer server on an alpine Linux I made sure that all requirements are well installed ( Django, GCC,python3, Pypi, ansible) the ...
2
votes
1answer
54 views

Does Alpine drop packages from old base images?

I am currently using alpine:3.13 as my base image. There, I had installed nodejs using: apk add nodejs=~14.15. However, the 3.13 branch contains a new nodejs (14.16) and 14.15 does not exist anymore. ...
0
votes
1answer
300 views

conda install in alpine image

I am tying to install conda in an alpine image and getting the below error which indicates that the exe is missing from the download. I was reading that the conda install is linked to glibc and that ...
0
votes
0answers
128 views

Cannot create kvm domain on alpine linux

After installing kvm on alpine following this blog, I cannot create a new virtual machine on alpine, facing 2 problems. domain configuration does not support video model qxl Unable to complete ...
1
vote
0answers
23 views

Cannot compile jetbrains intelij idea community edition on alpine linux

Amazon JDK has an Alpine Linux version, and I downloaded JetBrains's IntelliJ community source code. The ant build stuck at Failed to complete gradle setupJdks setupKotlinPlugin and the ...
0
votes
1answer
229 views

Alpine Linux: Error relocating libsudo_util.so.0 (sudo doesn't work)

I installed sudo to not having to use root all the time but after setting it up. Error relocating libsudo_util.so.0: reallocarray: symbol not found I checked /usr/lib/sudo but all the files and ...
0
votes
0answers
252 views

How can I forward local sound from a Docker container to a remote Pulseaudio server?

I am running Airsonic inside a container and wanting to forward its local sound output to a Pulse audio server on the same network. This idea works pretty well when I run Airsonic as a regular system ...
0
votes
0answers
267 views

Running ufw on Alpine Linux under Docker on Ubuntu

I am attempting to run ufw under Alpine Linux under Docker on Ubuntu 20.04 using the official Docker image for Alpine. I get the following messages whenever I attempt to run ufw enable: ERROR: problem ...
0
votes
0answers
48 views

How to run crond on php-fpm docker container based on Alpine

So, I am playing with this for a while now and still can't figure out the solution. I need to run a php-fpm in docker, I also want to run crond in same container. Few assumptions: crond needs to run ...
1
vote
1answer
285 views

Intermittent network timeout in docker

I am experiencing a network/http timeout issue with a docker-in-docker app that's running in a Kubernetes cluster and I need help in figuring out what may be happening. I am running a docker container ...
0
votes
1answer
233 views

How to install screenfetch on Alpine linux?

I'd like to install screenfetch on Alpine Linux. How ever all I can find is a dead link on Google: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/screenfetch-doc
1
vote
0answers
77 views

Install Alpine Linux without formatting the whole disk

I'm very new to Linux world, I have tried many Linux distros as Ubuntu, lubuntu, linux mint and finally Alpine Linux that I liked so much after installing it on a vmware virtual machine, and now I ...
0
votes
1answer
552 views

How to setup Alpine Linux in headless mode over ethernet with SSH?

I want to set up Alpine Linux on a Raspberry Pi over SSH, but I have no monitor and keyboard at hand. I copy the tarball to the formatted SD card as described in the Alpine Linux wiki, add an ...
0
votes
1answer
151 views

Install forticlient on alpine

How to install forticlient VPN on alpine linux? If it's not possible, what is the smallest linux distro that I can install forticlient in? I will be using this as a docker image, hence trying to ...
0
votes
1answer
28 views

Why tee writes to file content different from what it shows in console

I need to redirect all the output from cli app in alpine container to both - console and file, and then exit with that app exit code. As I have to use sh - I have found this solution on stack: ...
1
vote
0answers
179 views

Who creates /etc/resolv.conf file under docker in Alpinelinux

I prepared my Alpinelinux docker image with a proper /etc/resolv.conf file but when I start it I found its content get changed, to: $ cat /etc/resolv.conf # This file is managed by man:systemd-...
1
vote
1answer
400 views

IntelliJ IDEA or Pycharm not opening on Alpine Linux

So I am trying to migrate to Alpine Linux; however, I cannot seem to install two IDEs, Pycharm and IntelliJ IDEA. They are both throwing me the same error whenever I attempt to run either pycharm.sh ...
3
votes
0answers
2k views

What are the differences between Termux, PRoot, Userland, Linux Deploy, AnLinux and Alpine?

What are the differences between Userland, Linux Deploy, AnLinux and Alpine ? What I think I know so far: I think all of them use proot and termux to make Linux distributions run on Android. And ...
3
votes
2answers
2k views

No network after changing static IP address on Alpine Linux on Raspberry Pi

I'm running Alpine Linux on Raspberry Pi. I'm trying to set a static IP address. So I changed the contents of /etc/network/interfaces file from auto lo iface lo inet loopback auto eth0 iface eth0 ...
-2
votes
1answer
815 views

localhost : ERROR: ssh: connect to host localhost port 22: Address not available

Newbie to docker, trying to set up Hadoop container for which I first create ssh-server container for easy debug as my first container is working fine am able to login ssh localhost within the ...
1
vote
1answer
3k views

Cron jobs not running on Kubernetes + Alpine linux

I am trying to run a cron job on Alpine Linux docker image which is then pushed in Kubernetes container. The Cron job is that I want the container to restart itself after every 15 mins. So my command ...
1
vote
1answer
432 views

Enable kernel.unprivileged_userns_clone in Alpine Linux

I'm trying to setup puppeteer to work in my docker container which is based on the node:alpine image. I'm not able to run the image as a privileged user because I'm using AWS Fargate (which doesn't ...
1
vote
1answer
540 views

Make postfix use sasl / auth plain for outbound mail to a relay server

My postfix does not send AUTH PLAIN to the outgoing relay server. It must have worked a couple of days ago, but now I get "relay not permitted" bounce mails. The mail system runs in an Alpine Linux ...
1
vote
2answers
992 views

How to configure Terminal Emulator on Alpine Linux?

I am using XFCE and when I clicked on Terminal Emulator its ask you to put what program to execute. I wrote "terminal" and now it shows this message: "Failed to execute child process "terminal" (no ...
1
vote
1answer
1k views

How to set home directory on Alpine Linux?

On most Linuxes one would typically use usermod, but Alpine doesn't seem to have it, is there some other way to set home directory on Alpine?
0
votes
2answers
918 views

How do I download the source for Alpine Linux packages

I'm trying to get the source packages for various Alpine packages that are installed on my images (for compliance reasons) and I'm having trouble tracking them down. For instance, I have alpine-...
0
votes
0answers
538 views

How to Windows primary disk, alpine linux secondary disk grub dual boot?

I decided to try out running alpine linux as a desktop system, intrigued by its minimalist nature. Problem: I need to write grub to the MBR of the Windows disk sda, such that it looks at the /boot on ...
2
votes
1answer
647 views

Print list of installed Alpine packages with version in an easily parse-able format

I am trying to get a list of installed packages with version in an easily processable format for an automated tool to parse. I can get this output: / # apk list -i WARNING: Ignoring APKINDEX....
2
votes
0answers
179 views

Cannot install g++6 on alpine3.9

I need to install g++6 for building spidermonkey->couchdb on alpine3.9. I am unable to install it. Note that it is on the package list available on alpine 3.9 here. $ docker run -ti alpine:3.9 sh / # ...
1
vote
0answers
96 views

Is there a way to make resolvconf ignore a specific interface?

I have a system with multiple internet links, call them eth0 and eth2. I'm writing a piece of software to select which is the link in use based on some higher-level set of criteria. One of the ...
0
votes
2answers
2k views

How do I mount a volume by label in Alpine Linux?

I'm running a Docker container based on Alpine (specifically the balenalib/armv7hf-alpine image). Within the container I want to mount a USB drive by its label, but the Alpine mount command doesn't ...
2
votes
1answer
2k views

Installing Alpine Linux fails to scan the mirror list with “403 Forbidden”

I'm trying to install Alpine Linux running on QEMU and I've got the following errors (I marked the error messages with <===): localhost:~# setup-alpine Available keyboard layouts: ... Which ...
1
vote
0answers
3k views

Q: Root user invalid for ssh on alpine linux

tl;dr: The root user of alpine linux 3.9.4 is invalid for ssh unless setting a password. Why? I'm having an odd behavior with ssh and the plain root user of linux alpine. Setup I have created an ...
0
votes
0answers
80 views

How can I run a service for multiple VLAN's?

I have a running server hosted on 192.168.254.1 with some VLAN's which can be accessed by each one from 192.168.(TAG).1. I'm trying to run a service on a second computer physically connected to the ...
0
votes
0answers
1k views

Alpine - Recursively chmod files and folders?

I am creating a docker image in which I have to give permissions to few files and folders so that all user can access specific locations and run the image as another user so that no one can access my ...
1
vote
0answers
33 views

Grouping apt packages in Debian

I was wondering (and searching all over the place, sorry if I missed an obvious one) if, in Debian, there is any equivalent flag or option to the --virtual of Alpine Linux when installing apt packages....
3
votes
1answer
3k views

Running Alpine Linux on QEMU ARM guests

I'm trying to build packages for Alpine Linux, which has official support for x86, x86_64, armhf, aarch64, s390x, ppc64le, so I want to build for all of these architectures. Currently I'm using QEMU'...
13
votes
1answer
29k views

usermod equivalent for Alpine Linux

I'm building a Docker container, and I need to add my user to a group. usermod is not available in Alpine Linux by default. Apparently, you can add shadow from apk to install usermod, but I would ...
0
votes
1answer
674 views

How do I run pstree on alpine linux?

Can I see the process list as a tree on alpine linux? I tried using apk add but it gave an error about unsatisfiable constraints. The error isn't very helpful :-( / # apk search pstools WARNING: ...
0
votes
1answer
1k views

Tell APK to install a flagged package

I am trying to install megatools on an Alpine Linux container in Docker. This package is flagged because a new version is available. How can I force apk to install this package despite the flag? I ...
1
vote
1answer
2k views

Cannot setup network interfaces when installing Linux Alpine with setup-alpine

I am trying to install Linux Alpine from a USB but it fails on setup-alpine, more specifically on setup-interfaces script. I have the ethernet cable connected and wifi enabled. It doesn't seem to ...
3
votes
0answers
494 views

Create APK package from existing files

I have a bunch of files in several directories and would like to create an APK package out of them and publish it in a private repository. For dpkg-deb + apt-ftparchive on Debian/Ubuntu or for ...
1
vote
0answers
2k views

Can't install NPM in Alpine Linux, although it's present in repos

Here's my Dockerfile with instructions that all work except for the last line: RUN echo http://nl.alpinelinux.org/alpine/v3.5/main > /etc/apk/repositories; \ echo http://nl.alpinelinux.org/...
5
votes
2answers
6k views

Is there a way to download individual .apk packages from Alpine repos?

I need to install a couple of packages on a device that does not have internet access. The idea was to download packages, transfer them to the device and then install using apk add --allow-untrusted ...
1
vote
1answer
2k views

How to install Chromium masked package on Alpine Linux 3.8?

I am using Vagrant with VirtualBox, and running Alpine 3.8 inside: $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'generic/alpine38'... ==&...
6
votes
1answer
6k views

How can i can create a virtual pulseaudio soundcard on Linux with no audio hardware?

I have a Docker that's running Alpine Linux. There is no hardware audio device at all. I've managed to get pulseaudio running seemingly fine under the user. I've been experimenting with trying to ...