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
0 answers
159 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/...
user avatar
0 votes
1 answer
155 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 ...
user avatar
  • 103
0 votes
0 answers
26 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 ...
user avatar
  • 101
0 votes
0 answers
397 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. ...
user avatar
0 votes
0 answers
64 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 ...
user avatar
  • 136
0 votes
1 answer
248 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 ...
user avatar
  • 103
1 vote
0 answers
582 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 ...
user avatar
0 votes
0 answers
211 views

How you create group and user in Alpine Linux for following Debian command

I have a following script which creates user and group in Ubuntu. RUN groupadd --force -g $WWWGROUP app RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 app I am trying to replicate ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
  • 1
0 votes
0 answers
195 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 ...
user avatar
0 votes
0 answers
771 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 ...
user avatar
  • 121
1 vote
0 answers
431 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 ...
user avatar
0 votes
1 answer
4k 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 ...
user avatar
  • 55
0 votes
0 answers
418 views

How to install specific version of libstdc++6 on Alpine Linux?

I am trying to install libstdc++.so.6.0.19 on the Alpine Linux. Dockerfile: FROM alpine:edge RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub RUN wget ...
user avatar
3 votes
1 answer
4k 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: ...
user avatar
0 votes
1 answer
312 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 ...
user avatar
  • 1,666
0 votes
2 answers
117 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(...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
2 answers
56 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 ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
3 votes
1 answer
304 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. ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 179
1 vote
0 answers
39 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 ...
user avatar
0 votes
1 answer
727 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 ...
user avatar
  • 183
2 votes
2 answers
565 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 ...
user avatar
  • 141
0 votes
1 answer
477 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
user avatar
  • 186
1 vote
1 answer
281 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 ...
user avatar
0 votes
1 answer
844 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 ...
user avatar
  • 583
0 votes
1 answer
450 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 ...
user avatar
  • 103
0 votes
1 answer
37 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: ...
user avatar
  • 11
1 vote
0 answers
431 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-...
user avatar
  • 7,259
1 vote
1 answer
831 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 ...
user avatar
7 votes
1 answer
4k 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 ...
user avatar
2 votes
2 answers
4k 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 ...
user avatar
-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 ...
user avatar
1 vote
1 answer
4k 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
1 vote
1 answer
810 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 ...
user avatar
2 votes
2 answers
1k 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 ...
user avatar
1 vote
1 answer
3k 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?
user avatar
  • 111
1 vote
2 answers
2k 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-...
user avatar
  • 258
0 votes
0 answers
720 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 ...
user avatar
5 votes
1 answer
3k 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....
user avatar
2 votes
0 answers
231 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 / # ...
user avatar
  • 21
1 vote
0 answers
156 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 ...
user avatar
  • 445
0 votes
2 answers
4k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 81
2 votes
0 answers
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 ...
user avatar
  • 21
0 votes
0 answers
128 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 ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar