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
0answers
13 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
22 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
0answers
40 views

Kill child processes of an OpenRC service managed by supervise-daemon

I have a shell script that spawns multiple processes, which run for an indefinite amount of time, however with the following OpenRC init script and the supervise-daemon daemon, upon stopping the ...
0
votes
1answer
25 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
30 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-...
0
votes
0answers
32 views

Wake-on-LAN mysterious disablement in Alpine Linux

I am trying to make Wake-on-LAN working on my Alpine Linux box. No luck yet and out of ideas where to look next. What I did: enabled the feature in BIOS (motherboard ASROCK J4105-ITX) enabled waking ...
0
votes
1answer
57 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 ...
0
votes
0answers
237 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 ...
1
vote
1answer
271 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 ...
0
votes
0answers
12 views

Alpine GDM Login only listing “Linux User”

So I just installed GNOME on my Alpine Linux and my login screen displays only this instead of a list of users as shown here. This is inconvenient because I always must press "Not listed?" to log in, ...
-3
votes
1answer
111 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
1k 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
0answers
147 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 ...
0
votes
0answers
22 views

How to create aarch64 Alpine QEMU VM?

I'd like to create an aarch64 Alpine Linux VM image for QEMU. Can someone please point me to instructions on how to do so? I found this answer, but it is missing some steps, which I wasn't able to ...
1
vote
1answer
186 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
490 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
734 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
1answer
594 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
316 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 ...
1
vote
1answer
144 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....
1
vote
0answers
145 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 / # ...
0
votes
0answers
119 views

Possible to start docker container with python script running in tmux session?

Is it possible to start a container and start a python script within a tmux session? Consider the following: version: '3' services: container1: image: custompythonimage ...
0
votes
0answers
46 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
1answer
574 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
1k 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 ...
0
votes
0answers
1k views

How to set the network interface in the Alpine WSL linux

I use Alpine WSL (v. 3.9.0) from the Microsoft Store. I can’t start the nginx service. I have a network problem with loopback interfaces. Immediately after installing linux I did: su root apk update ...
0
votes
0answers
2k 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
35 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
770 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
28 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....
1
vote
1answer
2k 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'...
7
votes
1answer
16k 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
368 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
842 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
1k 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
432 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
4k 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
4k 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 ...
3
votes
0answers
379 views

Java memory allocation error inside a Docker container when host machine is running Alpine Linux

I want to run Jenkins in a Container where my host machine is running Alpine Linux. I have an Ansible playbook that starts the Jenkins container. However, the container exits as soon as it starts. I ...
0
votes
1answer
1k views

Access Samba share running in VirtualBox with Alpine Linux guest from Windows 10 host in domain

I'm trying to run a Samba server installed in an Alpine Linux 3.7.0(Vanilla) inside VirtualBox and trying to access that from my Windows 10 host which is part of a domain. Here are the links that I ...
1
vote
0answers
240 views

Python wx-widgets in Alpine Linux

I'm trying to install Trelby in Alpine Linux. When I launch python setup.py install, I get the following error: alpine# python setup.py install Traceback (most recent ...
0
votes
1answer
1k views

Install Alpine Linux in a specific partition

I'm trying to install Alpine Linux for a school project. I ran through the setup-alpine procedure without installing it for a couple times to familiarize myself with the procedure. However there is a ...
0
votes
0answers
420 views

How can I find out why the Nextcloud console installation does not generate tables in ProstgreSQL?

I have been trying to install Nextcloud on my Alpine-Linux-based server using the occ maintenance:install --database "pgsql" --database-name "dbname" ... command, but I am only greeted with exceptions....
1
vote
0answers
392 views

How to install vlc-nox equivalent on Alpine linux

I would like to install VLC without X support, just like the vlc-nox package for Debian/Ubuntu distributions, inside an Alpine linux Docker container. Would there be an equivalent to the vlc-nox ...
0
votes
1answer
727 views

Set default interface (can't connect to wifi after I set static eth0 configuration)

I am using Alpine Linux. I was able to connect to wifi via wpa_supplicant until I set a static eth0 configuration making my /etc/network/interfaces file appearing as the following auto lo face lo ...
10
votes
3answers
12k views

can't run nginx in alpine linux (docker)

Well I have set up an alpine linux docker container with nginx on it (apk add nginx) Now I am trying to run nginx. With the simple command nginx This returns the following error: nginx: [emerg] ...
3
votes
1answer
3k views

What is “modloop” option in Alpine?

I'm trying to understand what is the difference of making Alpine installation medium as read-only type (LiveCD) and as a standard disk mode (where the OS state can be saved). I've seen the modloop ...
0
votes
1answer
489 views

/proc/version(Alpine Linux Distribution)

I just had an interview where i was required to do some system admin tasks on an Alpine Distribution System. I was given 20 mins and internet to solv the tasks.What i found was that for Alpine,"apk" ...