Questions tagged [alpine]

Alpine Linux is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

Alpine Linux (https://alpinelinux.org/) is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

97 questions
0
votes
1 answer

What (low priority thread) is causing 100% CPU usage in my node alpine container?

I have a node alpine docker container (hosted on Azure) which periodically reaches 100% CPU usage. However, running the top or htop command shows no threads having high CPU usage. How do I find out what the cause is? It seams like the node process…
zapdev
  • 1
  • 1
0
votes
0 answers

Can't get PyGObject running in my alpine docker image

I can't get the Python:Alpine Docker image to install all my required PIP libraries. Unfortunately installing PyGObject is failing all the time and I can't get it running. Building wheel for PyGObject (pyproject.toml): started Building wheel for…
David
  • 159
  • 8
0
votes
1 answer

Alpine container no longer has nginx listening to 80, 443, but why?

This is more of a Docker question that anything else, I think, but allow me to describe the situation first. We upgraded the base image to one of our containers from php:7.3.28-fpm-alpine3.13 to php:7.3.28-fpm-alpine3.14. The items that changed…
0
votes
0 answers

nginx readonly container complains about /var/lib/nginx/off

I am trying to run a nginx container in readonly rootfs but when nginx tries to start it complains about : [emerg] 10#10: open() "/var/lib/nginx/off" failed (30: Read-only file system) nginx: [emerg] open() "/var/lib/nginx/off" failed (30: Read-only…
Jose
  • 21
  • 1
  • 2
0
votes
0 answers

troubleshooting alpine netboot init scripts

So must be very close but not seeing answer. Have no issues w/alpine netboot, overlays or anything like that. First time trying to use a sdcript that loads on startup in an overlay tho. Already consulted most relevant serverfault guide to using init…
josh
  • 101
  • 1
0
votes
1 answer

Use pam_exec to run a script on an ssh login event

I'm trying out linuxserver.io openssh-server. Its a lightweight openssh image and makes it easy to configure with public key and user name. If I run it, ssh with public key auth, works as expected: $ docker run --rm -d --name ac1 -e PUBLIC_KEY -e…
doughgle
  • 99
  • 7
0
votes
1 answer

Unable to access server using ssh after setting a static ip in alpine Linux

I am trying to configure a new Alpine server, and I have some basic knowledge of networking & Linux only. Everything works seamlessly if I use the default configs with DHCP, but breaks when I try to use a static IP config. I have to configure…
Samdeesh
  • 101
  • 4
0
votes
0 answers

supervisor log rotation not working in alpine

I setup Nginx(1.18.0) and Supervisor(version: 4.2.2) in an alpine docker image, the following is the supervisor conf: [supervisord] nodaemon=true [program:nginx] command=/usr/local/nginx/sbin/nginx -g 'daemon…
Sadmi
  • 11
  • 3
0
votes
2 answers

Shell alias file not working after copying it into container, works after source command?

I'm copying aliases.sh into an alpine-based container: FROM php:8.1-fpm-alpine AS php COPY .docker/aliases.sh /etc/profile.d/ CMD ["php-fpm"] When I log into the shell, my aliases won't work. If I run: source /etc/profile The suddenly start…
gremo
  • 339
  • 1
  • 4
  • 20
0
votes
1 answer

Unable to install oh-my-zsh package on alpine docker container

Running apk add oh-my-zsh on a docker container I get: / # apk add oh-my-zsh ERROR: unable to select packages: oh-my-zsh (no such package): required by: world[oh-my-zsh] The package seems to exist:…
StevieD
  • 514
  • 8
  • 24
0
votes
1 answer

Configure persistent wireguard network interface

I have configured Wireguard VPN on Alpine Linux 3.16.2. Manual server and client configuration works fine. uname -mrs # Linux 5.15.60-0-virt aarch64 ip link add dev wg0 type wireguard ip address add dev wg0 10.0.0.4/8 wg setconf wg0…
0
votes
1 answer

Run script after booting Alpine netboot

I have download alpine netboot distribution from this url: https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86/alpine-netboot-3.16.1-x86.tar.gz I have run a virtual machine with qemu this way: qemu-system-i386 -m 256 -kernel boot/vmlinuz-lts…
Bob5421
  • 319
  • 3
  • 8
  • 16
0
votes
0 answers

Share a host folder to an alpine image running in qemu

I have try to run an alpine Linux in an emulated environment this way: $ wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86/alpine-netboot-3.16.1-x86.tar.gz I have untar the archive and run: qemu-system-i386 -m 256 -kernel…
Bob5421
  • 319
  • 3
  • 8
  • 16
0
votes
0 answers

How can I add host.docker.internal to the trusted root certificate in an Alpine Linux container?

I'm using Alpine Linux via Docker. I want to make an HTTPS connection to host.docker.internal. There is a service on the host machine that can be reached via localhost:8443 on the host machine. I want to connect to this same service from the…
0
votes
1 answer

Configure Website Names on LLighttpd Alpine Linux

It has been a long time since I have done any hosting on Linux, and it that was on CentOS and Apache. I am working on creating some sites on an Alpine server running Lighttpd. Reviewing the config file for Adminer, I could add my sites as a…
Andrew
  • 209
  • 3
  • 10