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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [alpine-linux]

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

0
votes
1answer
30 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'... ==&...
0
votes
1answer
85 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 ...
1
vote
0answers
39 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
32 views

Is a package containing execstack in Alpine linux?

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

Alpine Linux acf login not work

I recently install alpine linux on my raspberry pi. And I knew awesome tools, that is acf (Alpine Configuration Framework). But Cannot login acf. I installed the program using the setup-acf command....
0
votes
1answer
168 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
47 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
127 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
61 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
61 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
30 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
124 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
179 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
110 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 ...
1
vote
3answers
996 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] ...
1
vote
1answer
345 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
243 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
146 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
61 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
2k 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
3k 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 ...
0
votes
0answers
210 views

How do you customize an Alpine Linux ISO beyond adding APKs and modules?

Alpine Linux has the benefit of being extremely light and nimble, so I want to use it to create a presinstallation environment. To accomplish this, I need to get it to run a script of my own creation ...
0
votes
0answers
374 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 ...
16
votes
1answer
5k 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
464 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
3k 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
284 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 ...
3
votes
1answer
3k 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
1answer
6k 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
2k 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
40 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 ...
23
votes
5answers
39k 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
564 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
3k 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 ...
50
votes
2answers
64k 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 &...
20
votes
3answers
10k views

How do I check Alpine's version?

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