Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [alpine-linux]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

After using the timeout command in the container of the alpine image, a dead process will be left

I ran a container using the alpine image and used timeout to run a command in it. After the timeout command ran, there is a dead process left in alpine, and I cannot kill it using the kill command. My ...
Ui Hirazawa's user avatar
0 votes
0 answers
79 views

alpine linux | mounting media failed

I am trying to install apine lixun on a server. Use Rufus to create a bootable flash drive with the operating system. When trying to install the operating system I get the following message "...
Agustin Sandoval's user avatar
0 votes
0 answers
27 views

OpenRC not starting services

For testing purposes, I need a quick way to generate a root filesystem to use for booting freshly built Linux kernels. I've been doing this by using Docker to create a filesystem and then transferring ...
larsks's user avatar
  • 36k
1 vote
1 answer
56 views

Is systemd viable for embedded when storage is not a concern?

Excuse me if this is a dumb question. I've been experimenting with this old nas box i bought, cross compiling anything and everything i could get my hands on. And now i want to take it a step further ...
8_Peter_8's user avatar
0 votes
1 answer
70 views

curl is not able to resolve host by default, --ipv4 switch works

I have a Linux Alpine (v3.18.6) container running on AKS. The curl command inside that container is not able to resolve a private DNS host. Also, nslookup throws SERVFAIL. However, when I provide --...
Snehasish Karmakar's user avatar
0 votes
0 answers
116 views

Docker daemon DNS fails

Summary of question: When trying to docker pull from any repository other than the default, e.g. docker pull mcr.microsoft.com/dotnet/sdk:8.0 the command fails with dial tcp: lookup mcr.microsoft.com ...
Aviad P.'s user avatar
  • 101
0 votes
1 answer
142 views

/dev/sda is present but /dev/sda1 and /dev/sda2 are missing

I have a file.img file which was obtained by running dd if=/dev/sda of=file.img. This was done on a device with two partitions, /dev/sda1 and /dev/sda2. In order to flash a new device with the same ...
Silviu Bajenaru Marcu's user avatar
0 votes
0 answers
88 views

Alpine Linux 3.18.3 - Kernel pinning during installation

I'm a new Alpine Linux user and I'm struggling to install a specific kernel version on Alpine-virt-3.18.3-x86_64. The ISO I'm using comes with the default kernel version 6.1.43-0-virt. When I run the ...
kz26's user avatar
  • 1
0 votes
0 answers
98 views

SSH connection failing on bitbucket pipeline, but working on local computer

From my local computer, I can ssh into my server without a password by doing: ssh [email protected] I then check /var/log/auth.log on the server to see what ssh key was used. I get something like ...
kellymandem's user avatar
0 votes
1 answer
212 views

alpine update motd on login

Is there any way to update the /etc/motd file on login? The /etc/profile and /etc/profile.d/*.sh scripts are executed after the motd is already displayed on login so these methods don't work. I want ...
EightBall's user avatar
0 votes
2 answers
1k views

Unable to install or upgrade to specific version of alpine/expat 2.6.0-r0 in alpine docker image

Due to latest vulnerability detected CVE-2023-52425, CVE-2023-52426, I need to upgrade alpine/expat 2.5.0-r2 to expat 2.6.0-r0 in my alpine docker image. I tried various ways (see below) to upgrade ...
TJL's user avatar
  • 1
0 votes
0 answers
47 views

Bluetooth earphones doesn't connect automatically

After Alpine installation, I paired and trusted the earphone using bluetoothctl. I have pipewire working, and pipewire-pulse installed (don't know how to check if it works). These earphones worked ...
Tala2n's user avatar
  • 1
0 votes
1 answer
363 views

Trying to install postgresql16-client on an Alpine Docker Container

I'm trying to create a Docker container with postgresql16-client but i'm getting an error saying that the package does not exist. I'm going to also install dotnet 8 on this container in order to run ...
mig50's user avatar
  • 3
0 votes
1 answer
504 views

OpenNTPd not working in alpine Linux

In a Clean Alpine Linux install run apk add openntpd service openntpd start rc-update add openntpd Then modifiy the /etc/ntpd.conf to # $OpenBSD: ntpd.conf,v 1.16 2019/11/06 19:04:12 deraadt Exp $ # #...
Delfin's user avatar
  • 150
0 votes
0 answers
31 views

Home Assistant OS + Wireguard Client addon = IP Masquerading not working correctly

I installed addon wireguard-client on my Home Assistant OS on Raspberry Pi IP masquerading is not working; I cannot access other devices on my local area network traceroute stops at 10.10.1.2 instead ...
jotyhista's user avatar
0 votes
0 answers
110 views

Live Alpine Linux can't find any disks

I've been making a bootable, CLI Alpine Linux recovery disk, but Cfdisk can't find any disks to partition, neither does setup-disk, what are the steps I need to take to have a functioning partition ...
Joshua Wheeler's user avatar
0 votes
1 answer
67 views

What provides install on alpine?

When I try to apk add install, the package can't be found install (no such package): required by: world[install] What utility provides /bin/install?
Evan Carroll's user avatar
  • 31.8k
0 votes
0 answers
75 views

Why is Nano refusing to use syntax colouration?

I am running Alpine Linux 3.18. I have installed nano 7.2 and nano-syntax 7.2, and my $TERM is set to "xterm-256color", but I'm not getting any syntax colours in Nano. The file is a Ruby &...
Sod Almighty's user avatar
1 vote
1 answer
482 views

Alpine linux: replace BusyBox tail to GNU tail

I need to use the tail ... --pid=PID option in my docker container that is based on Alpine image in order to I can kill the running background tail process automatically. Unfortunately the BusyBox ...
zappee's user avatar
  • 211
1 vote
1 answer
580 views

IPv6 SLAAC configuration of bridged interface

My dual-stack network at home uses router advertisements for IPv6 configuration, with a (mostly fixed) delegated /56 prefix from my ISP. All my machines therefore have a predictable global IPv6 ...
philfr's user avatar
  • 1,086
0 votes
1 answer
88 views

podman: chialab/php-dev:8.2-fpm found/not-found on different machines

I have two VMs running different host Linux OSs and identical podman-compose.yml files on the two. The podman-compose.yml file has the snippet: fpm: image: chialab/php-dev:8.2-fpm [...] ...
Michael NGV's user avatar
1 vote
0 answers
58 views

How does apk's replaces work when the package being replaced gets upgraded?

Say I have a package A, and package B. Package B contains some files which deliberately conflict with package A, and it is desirable for package B's files to be favoured over the ones in package A if ...
Newbyte's user avatar
  • 1,088
0 votes
1 answer
110 views

fstab mount doesn't find device

I have a problem with mounting a simple ext4 USB device with sync option and defaults. This is my fstab entry: UUID=233b8055-d596-48a7-a666-1e10b8860d9c /USBSSD sync 0 0 when I use mount -a, it says: ...
Ben's user avatar
  • 299
0 votes
0 answers
317 views

Alpine Linux: Can I bridge the eth0 to WiFi?

The problem: I have Alpine Linux downloaded on my phone, but it cannot be pinged by other devices on the network. It seems to have its own IP address and gateway that is different from the network. My ...
Praveesh Ramroop's user avatar
1 vote
0 answers
453 views

Keyboard layout not working on Alpine Linux 3.17

I am running several Alpine Linux installations, some VPS via SSH, some on real hardware. One of the machines (via SSH) can only input ASCII characters - e.g., pressing Option + o on my Mac keyboard ...
hstr's user avatar
  • 123
0 votes
2 answers
655 views

Which software installer should I use with Alpine?

I am experimenting with the Python Docker container, which seems to use Alpine Linux. I'm not familiar with Alpine and I don't see it listed as an option for installing software. On Alpine, should I ...
Arthur's user avatar
  • 103
1 vote
0 answers
244 views

How do I use abuild inside of a Distrobox container?

I want to use Alpine inside of a Distrobox container using the alpine-toolbox-edge image and do various tasks involving the abuild program. I followed the instructions in the "Creating an Alpine ...
Newbyte's user avatar
  • 1,088
0 votes
0 answers
235 views

How to get Intel Atom Z36xxx/Z37xxx HD Audio working in Alpine?

I've installed Alpine 3.18 on a PC with a Gigabyte J1900N-D2H motherboard. I'm running XFCE, but getting no sound. There is no volume control icon in the tray area, and no sound options in the menu or ...
Sod Almighty's user avatar
1 vote
1 answer
173 views

Alpine Linux: apk cache APKINDEX checksum details

In Alpine Linux, when I run the command apk update it looks at my /etc/apk/repositories file and downloads the APKINDEX.tar.gz file from each repository. It then renames each APKINDEX tar file using a ...
dingo_kinznerhook's user avatar
0 votes
0 answers
88 views

/usr/share/fonts/IBM_Plex_Mono: caching, new cache contents: 0 fonts, 0 dirs

I have install latex 2013(small installation) into alpine and run it in docker, when I tried to using this command to show alpine font list: /usr/share/fonts/IBM_Plex_Serif # fc-list the output is ...
Dolphin's user avatar
  • 639
1 vote
1 answer
513 views

Bluetooth keyboard/mouse issue on Alpine Linux

I'm using Alpine Linux with the following bluetooth related packages installed: bluez-5.68-r1 x86_64 {bluez} (GPL-2.0-or-later AND BSD-2-Clause AND MIT) [installed] bluez-btmgmt-5.68-r1 x86_64 {bluez} ...
Invarianz's user avatar
0 votes
1 answer
2k views

How to enable automatic login in alpine linux for root

I am trying to set up an alpine linux machine that needs to run an user program at the startup. I did not add any user except for root. After searching for solution of how to enable automatic login i ...
Srv19's user avatar
  • 95
1 vote
1 answer
529 views

Alpine Linux in Raspberry Pi not activating swap partition on boot

Probably this is a really naïve question, but I can’t make this work by trying the methods I’ve found in the existing documentation or in other solutions. I have Alpine Linux installed on a Raspberry ...
user avatar
1 vote
1 answer
2k views

How to install package in alpine in a specific folder using apk package manager?

I am trying to install a package in an Alpine Docker image. I am able to install the package and also able to verify them but now I want to install all the packages in my current working directory, ...
Vedic Developer's user avatar
0 votes
0 answers
738 views

Embed script into docker container to run after main process starts

For a particular docker image (based on alpine) I want to run some custom code after the container starts. I want that code inside the container, so it's easy to use and everything is self-contained. ...
lonix's user avatar
  • 1,793
1 vote
1 answer
693 views

Another way to add packages into an alpine linux iso

I'm struggling with installing packages into my custom alpine-linux iso. Following the official wiki on how to create a basic custom iso is working so far. I've read following posts and tried some ...
TLb Thunder's user avatar
1 vote
1 answer
945 views

How to know the boot time (kernel + init) in Alpine using openRC?

I made a bit of research on the matter and also asked ChatGPT, but there doesn't seem to be a way to measure full boot time of an alpine distribution with OpenRC. Using dmesg, I can see the last ...
Abdellah Stands with Gaza's user avatar
0 votes
1 answer
350 views

Unable to get IPV4 with dhcpcd on Alpine in a dual stack setup

After installing dhcpcd, the machine is unable to get IPv4 from DHCP, but generate IPv6 as expected and get DHCPv6 options (like DNS, domain, etc.); the config in /etc/networking/interfaces is auto lo ...
leoniDEV's user avatar
0 votes
0 answers
208 views

How do I build Alpine Linux on BeagleBone Black?

Currently, I am exploring Embedded Linux and found out that Alpine is a good place to start with that. Thus, I tried to build Alpine on BeagleBone. I tried out multiple methods: The Generic ARM setup ...
Ayyappan Subramaniam's user avatar
1 vote
1 answer
5k views

Using apk add to install a specific version of package from alpinelinux.org

I'm trying to use nginx-mod-http-lua on Alpine v3.17-stable. I want to use this specific 1.24.0-r2 version of the package which was just released two days ago. I'm trying docker run -it nginx:1.24.0-...
Kenn's user avatar
  • 121
0 votes
0 answers
15 views

"No such file or directory" when executable exists with relevant permissions [duplicate]

After installing n to manage node versions on my alpine vm, I am having the following issue where the node executable is not found, despite existing vscode ➜ /workspaces/tom $ which node -a /...
StuperUser's user avatar
0 votes
1 answer
554 views

How to run a command in the background with 'doas'?

I want to run a command in the background as root. And I have a problem with doas command. With sudo, I can use sudo --background <command>. It will ask for password, then runs in the background....
Livy's user avatar
  • 455
4 votes
1 answer
10k views

How to install sudo on Alpine 3.17 VM?

I have installed Alpine r3.17 on a VM under KVM. I want to install sudo tool. # su - # apk update ... OKL 4994 distinct packages available # apk add sudo ERROR: unable to select packages: sudo ...
will's user avatar
  • 518
1 vote
0 answers
771 views

Permission denied while trying to SSH from gitlab runner to deploy server

I am trying to deploy gitlab repository to my server in gitlab ci pipeline using this pipeline stages: - deploy deploy: stage: deploy only: - main before_script: - apk add --update --...
Johnczek's user avatar
  • 111
1 vote
1 answer
2k views

How to copy and paste in alpine linux VM?

I recently installed an alpine-3.17 VM using virtualbox 7. I also installed the guest additions and are able to map shared folders. But it seems that I cannot copy-and-paste from the host OS. I copied ...
tinlyx's user avatar
  • 838
0 votes
1 answer
251 views

Enable bluetooth keyboard for Pinephone running PostmarketOS

I am using a Pinephone with PostmarketOS and can't get my bluetooth keyboard "TrackPoint Keyboard II" to function. It's getting connected over bluetoothctl but is not working.
nimbin's user avatar
  • 31
1 vote
1 answer
949 views

How to install packages which are present on startup in alpine diskless

I've installed alpine linux on an R-Pi using instructions on Alpine's wiki. The instructions note: Alpine Linux will be installed in diskless mode, hence, Alpine Local Backup (lbu) is required to ...
Philip Couling's user avatar
0 votes
0 answers
188 views

Determine what is locking a USB device in Alpine (Home Assistant)

I'm running Home Assistant (standard RPi install) on a Raspberry Pi 4 GB with an AEOTEC Z-Stick Gen5. It's attached to a USB hub since the system won't use it otherwise. "Something" has ...
SDMark's user avatar
  • 3
0 votes
1 answer
1k views

Alpine not installing "latest" package

I am trying to install latest version of chromium (v108.0.5359.125), and I have the following in my Dockerfile: FROM node:14.20.1-alpine3.16 ENV CHROME_BIN=/usr/bin/chromium-browser RUN echo @latest ...
Fadi's user avatar
  • 315
0 votes
0 answers
919 views

Performance issue with alpine musl library

In order to build a complex C++ software based on Qt framework, I have prepared an alpine toolchain (for x86_64). This toolchain chroot contains : the alpine base package 3.16 a list of installed ...
TLILI Nassim's user avatar

1
2 3 4 5
7