Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alpine-linux]

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

0
votes
0answers
8 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 ...
0
votes
0answers
18 views

How to install CUPS software in httpd server

I have a Docker image of a server whose base image is httpd:2.4, whose base image is Alpine Linux. I need to install CUPS software for configuring printers in the server. How do I proceed with ...
0
votes
0answers
68 views

How do I setup Xen with dom 0 Alpine Linux, LUKS LVM and GRUB on a UEFI platform?

I would like to have the following setup: a system in UEFI mode with a hard disk with GPT partitions. The disk should contain an (unencrypted) EFI System Partition, encrypted boot partition and ...
1
vote
0answers
31 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
354 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/...
2
votes
1answer
87 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 ...
0
votes
1answer
233 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'... ==&...
1
vote
1answer
470 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 ...
2
votes
0answers
70 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
0answers
60 views

Is there a package containing execstack in Alpine linux?

For some reason I need execstack in a Alpine Linux docker. For a usual Linux one can get it with prelink. But I cannot find prelink on Alpine's repo. The original purpose of this is to use sharp ...
0
votes
0answers
151 views

Alpine Linux acf login not working

I recently installed Alpine Linux on my Raspberry Pi. I know the awesome acf tool (Alpine Configuration Framework), but I cannot login to acf. I installed the program using the setup-acf command, and ...
0
votes
1answer
427 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 ...
0
votes
0answers
68 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
309 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
134 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....
0
votes
0answers
108 views

Alpine Linux running under Qemu - set nameserver manually when using DHCP

I am running Alpine 3.7 under Qemu on a Chromebook and using DHCP to set the IP address etc. The nameserver (as set in /etc/resolv.conf) is not correct (it's a 10. address presumably because of the ...
0
votes
0answers
39 views

How to show detail samba-ad user information on the server?

Is there way to show detail(expire/last passwd changed) by CLI commands on linux like net user username /domain(windows)? samba-tool user list can show user list on the domain. I do not have an idea ...
1
vote
0answers
189 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
0answers
331 views

Alpine LVM installation with UEFI/BIOS dual booting support

I want to move from Arch+Windows [GPT, dual boot using built-in EFI menu] to Alpine+Windows [GPT, legacy BIOS booting support, XEN, LVM partitions for both Alpine as Dom0 and virtualized Windows as ...
0
votes
1answer
216 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 ...
2
votes
3answers
3k 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] ...
2
votes
1answer
671 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
0answers
319 views

How to disable/enable AES-NI on different platforms?

I'd like to benchmark disk encryption on different platforms (Alpine, Win7). One of the tests would be to compare the AES-NI on/off speeds. Is there a way to turn this feature off? (afaik. it is ...
0
votes
0answers
326 views

How to create Alpine live-USB without using `dd`?

I'm trying to create Alpine live USB manually in order to use existing stick's partitioning layout. I know the easiest way to do it is dd (which works with no hassle), but above all, I do it just for ...
0
votes
1answer
95 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" ...
0
votes
1answer
3k views

ImageMagick installation in Docker Alpine

So I have this Dockerfile that attempts to install ImageMagick the following way: FROM ruby:2.4-alpine ... RUN apk --update add imagemagick ... The point is that the container doesn't recognizes ...
5
votes
1answer
6k views

What is the best way to install latest nodejs with npm on alpine linux

I am trying to build my own docker container based on alpine linux and I need to add multiple services in that container (yes it is not recommended as best practice but at the moment my org devops is ...
1
vote
0answers
493 views

Installl a specific package version of Apache in Alpine 3.4

I would like to install Apache 2.4.23-r1 for my development. However, in Alpine Linux the package has been upgraded to 2.4.25-r1. Package Repository to see the history of the package. / # apk add ...
22
votes
1answer
9k views

Why is the alpine Docker image over 50% slower than the ubuntu image?

I noticed that my Python application is much slower when running it on python:2-alpine3.6 than running it without Docker on Ubuntu. I came up with two small benchmark commands and there's a huge ...
1
vote
1answer
769 views

How to install specific version of libxml2 on Alpine linux without downgrade of whole alpine to v3.1?

Latest available version of libxml2 is 2.9.4-r2 (alpine linux v3.5). But due to regression bug I need to install 2.9.3 or earlier. How can I do this without downgrade of whole alpine to v3.1? I'm ...
4
votes
3answers
4k views

Forward X11 over an SSH connection to container's host?

I'd like to run a containerized GUI application from a remote machine. I don't want to solve this problem by adding an ssh host to the container because I already have access to the host machine ...
2
votes
1answer
335 views

Fixate version alpine linux apk package (in container)

It is possible to specify version when installing apk on alpine for example apk add ffmpeg=3.0.7-r0. In containers it is a typical scenario, because you want kind of immutable thing, so you add in ...
6
votes
1answer
4k views

No such file when it exists

How is this possible? bash: /usr/local/phantomjs/bin/phantomjs: No such file or directory bash-4.3# cd /usr/local/phantomjs/bin bash-4.3# ls phantomjs bash-4.3# The content of /usr/local/phantomjs/...
0
votes
2answers
7k views

Why does Alpine apk report “unsatisfiable constraints” when installing an older version of Node.js?

I'm trying to install an older version of Node.js (4.4.4) on Alpine. Here are my commands: apk update apk add nodejs-lts=4.4.4-r0 When I execute, I get an error (running as root because I'm using ...
1
vote
1answer
3k views

Install whereis command on alpine linux

I'm trying to install the whereis command on alpine linux 3.5 Actually I'm running the following command: apk add --update whereis But it is not working since I get this error: fetch http://dl-cdn....
1
vote
0answers
109 views

Oracle JDK in Alpine Linux [duplicate]

I am trying to install Oracle JDK in Alpine Linux. I did the following Downloaded the jdk-8u111-linux-x64.tar.gz from Oracle.com and extracted it to /home/user/jdk/jdk1.8.0_111 folder. Created ...
36
votes
5answers
53k views

How to install npm in alpine linux

So I can't get to install npm in alpine linux. I thought perhaps I can just do a apk add npm but apparently apk search npm returns nothing, even after a apk update. I'm experimenting with all this ...
0
votes
1answer
2k views

Socat not closing tcp connection

I use socat 1.7.3.1-r0 and run following command on an alpine 3.3 linux server: socat -d -d -d PTY,link=/dev/ttyFOOBAR,echo=0,raw,unlink-close=0 TCP-LISTEN:7000,forever,reuseaddr Socat will listen ...
0
votes
1answer
640 views

Failed to edit crontab (linux Alpine)

I faced with an error during cron manipulation under my non-root account. bash-4.3$ crontab -e crontab: must be suid to work properly Here is an output on id command: bash-4.3$ id uid=41532(fred) ...
3
votes
1answer
4k views

What is a prescriptive way for managing the permissions for mounted volumes in Alpine-based Docker?

When you build an image you can assign ownership (chown) and change permissions (chmod) of paths within the image. However, when a volume is mounted from either the host or another container the ...
62
votes
3answers
82k views

How to install a specific package version in Alpine?

I have a Dockerfile to build a Docker image that is based on Alpine Linux. Now I need to install a package as part of this Dockerfile. Currently I have: RUN apk update && \ apk upgrade &...
27
votes
3answers
13k views

How do I check version of alpine mail client?

How do I check on a Unix server what version of the Alpine mail client is installed? I have root access in case that is needed.