Questions tagged [alpine-linux]
Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.
101
questions
0
votes
1
answer
166
views
Auto-mount USB drive when plugged in on Alpine Linux
I know that Alpine Linux doesn't enable the auto-mounting of USB drives when they are plugged in but I have an application where I would like this to work without the user needing to mount the drive ...
0
votes
0
answers
34
views
Downgrade libreswan version inside docker alpine
I configured vpn server inside docker from this repo 10 months ago. But recently met connection errors. I found this issue and want to try fix it with downgrading libreswan to 4.15, but don't ...
1
vote
1
answer
123
views
Errors running pppd inside a docker container
I have a docker container that I'm trying to run pppd inside of. The host kernel has CONFIG_PPP=y. I'm setting up the ppp device like this:
mkdir /run/container/dev
mknod /run/container/dev c 108 0
....
0
votes
0
answers
27
views
Boot from USB on Grub showing unknown error
My laptop has a kernel panic error. So I tried to install a new OS, Alpine Linux 3.18.2, I burned the ISO to my usb and followed all the steps to boot it from grub, after I used the chainloader ...
3
votes
1
answer
231
views
Install latest hugo package version on Alpine
I want to install the latest version of the Hugo package with apk in Alpine.
based on pkg detail, the latest version is 0.114.1-r0
but when I put to run this code in Dockerfile, this has error:
ENV ...
0
votes
0
answers
511
views
Can't mount usb drives in Alpine Linux
When I try to mount /dev/sdb1 or /dev/sdb2 (which is my usb drive), I get this error:
doas mount /dev/sdb2 /mnt/usbdrive
mount: mounting /dev/sdb2 on /mnt/usbdrive failed: Invalid argument
I've tried ...
1
vote
0
answers
334
views
I am not able to run 'dbus-launch' into Alpine Linux with Docker 23
This is something that worked correctly with Docker 20, but with the change to Docker 23 it keeps "thinking" infinitely and consuming CPU (i.e. freezes). I simply launch dbus in a Docker ...
0
votes
1
answer
147
views
LightDM starts, but nothing happens
I'm using Alpine Linux, OpenRC
Unlike many other questions similar to this one, LightDM does seem to start, but after that... Nothing happens. Command line seems normal, and just like all the other ...
0
votes
0
answers
113
views
Can't find nitrogen package for Alpine Linux
I can't find the "nitrogen" package for Alpine Linux, they changed the name (for example the change of xorg-xinit to just xinit) or there is a better alternative?
I tried to find by the ...
0
votes
0
answers
104
views
Alpine Linux unpredicted differences between base user and root
I installed Alpine Linux WSL from official Microsoft App store on my Windows 11 Lenovo machine. The installation terminated correctly so i started populate my Alpine instance with some CLIs and script ...
0
votes
1
answer
3k
views
How to download file from docker container image without curl / wget?
I'm in the process of writing container features and I want to be able to install package on debian:latest, ubuntu:latest and alpine:latest. To do so, I'm willing to leverage pacapt, a pure shell ...
0
votes
0
answers
735
views
APK is corrupted after upgraded to v3.16, `ERROR: ca-certificates-bundle-20211220-r0: package mentioned in index not found (try 'apk update')`
I got a docker image with an older version of apk and its repository. So I run the following command to upgrade it. It was working few days ago. but today, it stop working.
docker run -it openjdk:...
0
votes
1
answer
3k
views
MySQL command not found in Docker container
After getting a terminal into a Docker container (postgres:11.1-alpine) and installing MySQL using apk (apk add mysql) I still receive sh: mysql: not found and bash: mysql: command not found when ...
0
votes
1
answer
712
views
Alpine Linux edit PATH before OpenRC runs service
I am having OpenRC start a service that calls a java jar, but the PATH it uses appears to either be different than the global PATH, or the service is ran before the PATH can be edited.
I have tried ...
0
votes
0
answers
133
views
Cannot boot Alpine Linux due to crashed Nginx process
I have installed Alpine Linux ISO on a VM on my machine and have spent a while getting everything set up for an IOT communications server. I'm quite liking the lightweight environment that it provides,...
0
votes
0
answers
2k
views
Why unable to verify local issuer certificate? (https calls for google)
I am using docker desktop to run a simple node:16-alpine through mac. Which I added a ca-certificates, curl and openssl.
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.15/...
1
vote
1
answer
3k
views
Failed to run curl 7.83.0 on alpine
I'm trying to install curl in 7.83 on an alpine environment but it fails to run the command and give me the following error
Error relocating /usr/bin/curl: curl_easy_nextheader: symbol not found
Error ...
0
votes
0
answers
271
views
Can't clone a remote repo when ufw is enabled
I have a cloud VM running alpine3.15 [disk mode enabled] and I am able to clone/push/pull to github when ufw is off. However when it is on, all git commands that talk to github get stuck (no output)
I ...
0
votes
0
answers
1k
views
Install specific python version in docker container (Alpine)
I'm a Linux noob and I try to install Python3 3.6.9 or any Python 3.7 inside a docker container. From what I understand, the container is on Alpine.
I tried this code found on a stack overflow thread.
...
2
votes
1
answer
3k
views
Getting the version of an installed package sometime return no result on alpine
In Linux Alpine I use apk version package to retrieve the installed version of a package. For some reason, some packages simply does not return any result. Is there another way to do that or am I ...
0
votes
1
answer
2k
views
Network-manager: store secrets for automatic openvpn connection
Because I don't have access to a gui, I have added my openvpn password to the network-manager connection using:
$ sudo nmcli con mod CONNAME vpn.secrets "password=MYPASS"
I can confirm the ...
3
votes
0
answers
3k
views
Install NodeJS specific version on Alpine Linux via APK
On Ubuntu based systems we can run the install script like this
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install -y nodejs
however on Alpine linux, the debian ...
1
vote
0
answers
684
views
How to SSH into windows PC/Linux from Alpine Linux on IOS (iSH)
I am using the iSH app on iOS for my iPhone.
I've set it up and everything seems to work correctly. I'm root and set my own password, did apk add openssh-server. However when I try to SSH into my ...
0
votes
0
answers
512
views
Alpine Linux ISO put on USB Harddisk with rufus just boots through to installed OS
I am experimenting with replacing a USB-pen with a USB-harddisk as the boot media when installing Alpine Linux to get faster response time while developing an automated installer for older legacy PCs ...
0
votes
0
answers
2k
views
Alpine Linux - "Secrets were required, but not provided" when connecting to a wifi connection, but works when connecting to another
I am using Alpine Linux to connect to my wifi home network. I have two main wifi access points, let's call them WORKING and NOT_WORKING. When I connect to WORKING through nmcli, the connection is ...
1
vote
0
answers
2k
views
Alpine hangs when trying to mount NFS
I set up my mount using ext4 filesytem and mount it with /etc/fstab
uuid=<uuid> /mnt/external ext4 rw,realtime 0 2
I set up nfs by installing the apk
apk add nfs-utils
I set up my exports file ...
0
votes
1
answer
10k
views
Node.js on Alpine Linux inside Docker: update to latest minor version
I want to create a Docker image which does two simple things:
Pull node:14-alpine
Update to the latest minor Node.js version
I've read that both n and nvm have their issues on Alpine Linux. So, what ...
4
votes
1
answer
12k
views
How to add a path to PATH variable in linux alpine for the entire machine?
I know I can export PATH="$PATH:my_path" to add to PATH variable in current session.
I also know that I can add this line to ~/.bash_profile to make it persist across sessions for my user:
...
1
vote
1
answer
1k
views
Curl with GSS-API on Alpine Docker
I am trying to get curl installed in a Dockerfile with the GSS-API, SPNEGO, or GSS-Negotiate features installed so I can use the --negotiate flag. How can I configure curl to be installed with that ...
0
votes
2
answers
419
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
1
answer
5k
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
2
answers
76
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
1
answer
74
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 ...
3
votes
1
answer
859
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. ...
2
votes
1
answer
3k
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 ...
1
vote
0
answers
88
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
1
answer
1k
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 ...
2
votes
2
answers
1k
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
1
answer
731
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
1
answer
1k
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
2
answers
1k
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
1
answer
795
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
1
answer
155
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
0
answers
1k
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
1
answer
1k
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 ...
7
votes
1
answer
8k
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 ...
2
votes
2
answers
5k
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
1
answer
1k
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
1
answer
6k
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
1
answer
2k
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 ...