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.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

RTNETLINK answers: File exists in alpine router

I already know that this ask may already be made here but i couldnt solve this there, idk if i made bad or something, so im asking with my own case, sorry if my english is bad but here it is this is ...
1
vote
1answer
95 views

What runlevel should ufw firewall start at in Alpine Linux?

I am using ufw on Alpine linux. I have configured it in a pretty standard way: apk add --no-cache ufw ufw allow ssh ufw allow http ufw allow https ufw limit ssh ufw enable rc-update add ufw default ...
0
votes
2answers
65 views

Server DHCPv6 with Linux Alpine

I want create a server dhcp6 with alpine I'm using Kea-dhcp6. The my file config this is: { # DHCPv6 configuration starts on the next line "Dhcp6": { # First we set up global values &...
1
vote
2answers
5k views

Git, WSL2, SSH: unexpected disconnect while reading sideband packet

While attempting to clone a remote Git repo using SSH I got the following error: git clone user@remote-repo:project.git . remote: Counting objects: 187444, done. remote: Compressing objects: 100% (...
0
votes
1answer
296 views

Is Alpine Linux a bad choice for a server?

I've been thinking of migrating one of my servers from Ubuntu to Alpine to host my web app. I came to know Alpine because of Docker. Is using Alpine as a server OS safe? Has anyone ever tried this?
1
vote
3answers
350 views

Postfix + sasldb issue (solved as of Mar 2021)

PS(SOLVED: Solution for Alpine Linux as of Mar 2021, the fix in cyrus-sasl 2.1.27-r12 is in edge branch. 3.13 only has cyrus-sasl 2.1.27-r10. PS: I know there are similar posts but they are very ...
0
votes
1answer
113 views

Why does “last” fail on Alpine with “last couldn't open file '/dev/null/wtmp' ”?

Why is the last command failing on my fresh install of Alpine 3.12? $ last couldn't open file '/dev/null/wtmp': Not a directory wtmp begins Thu Jan 1 00:00 (on a Linode server if that matters)
0
votes
1answer
211 views

Can't get unbound to work in docker container

It seems pretty simple to set up but I can't actually get it working.. Setup: $ docker run -it -p 53:5300/udp alpine /bin/sh $ apk add bash nano wget ca-certificates bind-tools unbound $ mkdir -p /...
0
votes
0answers
187 views

Alpine setup on virtual machine UEFI does not boot

I am trying to setup Alpine linux on a VM (Proxmox) to replicate the layout of physical hardware (raspberry pi). The real layout is a raspberry pi 3, installed as "data" mode (based on wiki) ...
1
vote
1answer
182 views

Docker (alpine) file not found when CMD

So this is my Dockerfile: FROM alpine RUN apk add --update --upgrade --no-cache mysql mysql-client RUN rm -rf /etc/my.cnf /etc/mysql/* /etc/mysql.d/ && \ mkdir -p /var/lib/mysql /var/run/...
0
votes
1answer
507 views

How to enable DNS over TCP for resolving names on linux

How do I configure linux in general to allow dns over tcp? We discovered today that several different linux servers we use are not able to resolve DNS names with many ip addresses in the response. ...
0
votes
1answer
2k views

Alpine ping: operation not permitted

I'm using Alpine (which uses busybox), and trying to get ping to work. First I tried installing iputils per https://serverfault.com/a/1001312 . No dice. Then I found something that said I need to set ...
0
votes
0answers
174 views

Alpine: 'sh: error setting limit: Operation not permitted' when starting docker

On Alpine 3.12 with docker 19.03.13-r0, I get this error message when I start the docker service: $ sudo service docker start sh: error setting limit: Operation not permitted * Starting Docker ...
0
votes
2answers
376 views

K8s no dns resolution on all used test images

Hi community and K8s experts, I installed a clean K8s cluster based on virtual machines (Debian 10). After the installation and the integration into my landscape, I repaired in the first step the ...
1
vote
1answer
928 views

Alpine Linux apk: List out directly installed packages by `apk add`?

Is it possible to list packages directly installed by apk add? e.g. apk add docker, apk add lm-sensors file, etc. Running apk info lists ALL installed packages (including dependencies of installed ...
0
votes
2answers
563 views

Alpine Linux is not sending hostname to dhcp server

When alpine linux asks for ipv4 address from dhcp server, it is not sending hostname to dhcp server. So I cant access by server's hostname in LAN. Here is my setup I am using Alpine Linux 3.12 on my ...
0
votes
1answer
338 views

Lighttpd alpine container logging

The context is that I want to serve a static website inside a docker container so I can have some dedicated metrics, and I want the logs to use stdout/stderr. To do that I thought of using Lighttpd ...
0
votes
0answers
193 views

wget in busybox fails with 'Address not available' for http while https is ok

Suddenly wget started failing in my Doker image with wget: error getting response: Address not available I have discovered that it works just fine with https: addresses, only http: fail in this way. ...
0
votes
1answer
105 views

Why does Alpine-based sshd shut down when first session ends?

I have a simple Docker container for a purposeful sshd server whose image derives from alpine:latest. It currently uses /usr/sbin/sshd -D -e -ddd as its entrypoint. When I ssh into it for running a ...
0
votes
0answers
169 views

“Peer closed connection” on attempted sftp connection via lftp in gitlab ci using alpine image

I have a gitlab-ci.yml running a node:alpine image. I am trying to connect to a host via smtp using lftp. # part of gitlab-ci.yml before_script: - apk update - apk add lftp openssh -...
1
vote
0answers
55 views

Script command on alpine

I want to preserve colors of docker exec command. The only way I found is to use script command like so docker exec <container_name> script -q -c "./spiral migrate:status" /dev/null The ...
0
votes
2answers
3k views

SNMP: hrSystemUptime.0: Unknown Object Identifier (Sub-id not found: (top) -> hrSystemUptime)

I get the error in the title when I issue the following command. $ snmpget -v3 -u edgeos-snmpd-user -l authPriv -a SHA -x AES -A authPhrase -X privPhrase 192.168.x.x hrSystemUptime.0 hrSystemUptime....
1
vote
0answers
78 views

docker: logrotate is failing with missing directories in pattern

I'm using logrotate in a docker container. I'm injecting a bind volume into the container where logs should be rotated. The folder structure is more or less the same, this path /srv/apps is injected ...
0
votes
1answer
382 views

Google Cloud Compute Engine VMs with Alpine Linux

How to create GCE image with Alpine Linux that can be used to create GCE VMs?
1
vote
0answers
1k views

Nginx letsencrypt certificate permission denied

Context I'm running an nginx instance in an alpine docker container (nginx:stable-alpine). The goal is to use nginx as a reverse proxy for one (or multiple) docker containers which only have HTTP and ...
1
vote
0answers
181 views

GELF json logs stop arriving on graylog after some time from nginx proxy in docker

Hmm..where to start...i've got an application stack (running in docker swarm), with nginx as proxy in front. Ive got json-formatted logs, being sent to graylog via gelf. Container system is alpine 3....
1
vote
0answers
940 views

How to restart rsyslog on alpine?

In my alpine 3.1..5 linux docker container, I installed rsyslog as: # apk add --no-cache rsyslog I am running rsyslogd as: # rm -f /var/run/rsyslogd.pid # rsyslogd How do I restart rsyslogd ...
7
votes
0answers
1k views

Alpine Linux timezone doesn't stick if tzdata is removed

This used to work to set the timezone. I have a container on Alpine 3.9.4 where it worked: RUN apk add --no-cache tzdata ENV TZ America/Chicago RUN apk del tzdata I'm now creating a Docker container ...
0
votes
2answers
141 views

touch -d '20 seconds ago' not working in alpine

I'm trying to use touch -d '20 seconds ago' file.txt Which works in Ubuntu, but not in Alpine. Anybody knows if there's an additional package that does this, or is it not supported by Alpine itself?...
1
vote
0answers
53 views

AWALL - Alpine firewall, rule that accept traffic from certain IP

I need a rule that permits a specific traffic from determinate IP. I tried this, but it doesn't work. { "src": ["$FDFARM", "$FARM"], "in": "internet", "out": "_fw", "service": "APIDOCKER", ...
0
votes
0answers
31 views

I can't log into a mysql service which is built on Docker/Apine due to wrong password, what can I do?

I run a docker/alpine based mysql instance for many days, today I want to log into it, but I get the following error: bash-4.4# mysql -uroot -h 172.19.0.1 -p Enter password: ERROR 1045 (28000): ...
1
vote
2answers
581 views

How to get information about security updates for Alpine Linux?

I would like to get information that important package updates occured (e.g. connected with security updates) - so that I know, that I need to rebuild my Alpine-based images with apps. It could be ...
1
vote
2answers
2k views

UsePAM not supported anymore

Running on an alpine docker image an SSH server. Starting the server I get the message: /etc/ssh/sshd_config line 24: Unsupported option UsePAM AFAIK UsePAM option has been supported for many years ...
1
vote
1answer
835 views

Filezilla fail to connect Dropbear SSH server _ unexpected end-of-file

I install dropbear SSH server in Alpine OS dropbear config : DROPBEAR_OPTS=" -p 22 -K 9" ( p = port , K = keep-alive in seconds) now I can connect to SSH terminal in KVM ssh root@192.168.122.58 ...
2
votes
1answer
749 views

Alpine Linux: fatal: privsep_preauth: preauth child terminated by signal 31

I have some containers with Alpine Linux. Yesterday I updated two of them from v3.8 to v3.10. OpenSSH server was upgraded from 7.7_p1-r4 to 8.0_p1-r0. After that, the client is unable to login. Note:...
3
votes
0answers
762 views

How does a unix socket shared through a Docker volume work compared to TCP?

I'm wondering how Docker manages a unix socket when it's shared across containers and how it affects the performance compared to just using TCP. What I'm trying to accomplish is setting up docker-...
0
votes
1answer
544 views

Expose Docker API over TCP on Alpine Linux using OpenRC

I have searched everywhere but just can't seem to find the answer. I need to expose the Docker API over TCP on Alpine Linux using OpenRC. I know how to do it on Ubuntu with systemd: create /etc/...
3
votes
1answer
4k views

Converting a systemd service to OpenRC (Alpine Linux)

So I'm currently merging an XMPP server with a Signal gateway for efficiency (running each service in a separate VM eats resources like nobody's business) and I need to convert the service script for ...
0
votes
1answer
937 views

PHP curl_exec failing with HTTPS

I have a wordpress site that its failing. I tracked the issue and I found that is due to curl_exec() failing with HTTPS sites. I'm running php 5.6 in a Alpine Linux v3.8 container with lighttpd. The ...
1
vote
1answer
209 views

Mount merged partition at boot, fuse module missing

I have a merged partition from 3 different hard drives with mergerfs. I set it up following this tutorial. To automate the mounting I added instructions in the fstab : UUID=b3c8301c-5d12-4ab1-ab8c-...
3
votes
2answers
2k views

gcsfuse on Alpine Docker

I try to use gcsfuse in order to store application source code on a GCP bucket, here's my Dockerfile: ARG VERSION FROM golang:1.12.5-alpine3.9 as gcsfuse-builder ENV GOPATH /go RUN apk --update ...
2
votes
1answer
199 views

Arbitrary vlan interface name - undocumented configuration?

Today i was playing around with ethernet adapters and vlans in Alpine Linux. I tried to give the interfaces arbitrary names. After looking at the source i had the following example working Ethernet ...
11
votes
1answer
24k views

Installing openjdk 11 on alpine:3.9

I'm trying to build an alpine docker image with openjdk 11. To do so, I'm starting an alpine container: docker run -it alpine:3.9 /bin/sh And running the following: export JAVA_HOME=/opt/openjdk-11 ...
1
vote
1answer
1k views

Can't turn SSL on a docker's nginx container

I'm new to docker and try to build an image based on Alpine to take care of my websites with HTTPS connexions. Currently i'm at the step to make it work from the container so i'm not finished yet with ...
0
votes
1answer
555 views

How to install sssd in Alpine?

I want to install sssd in an Alpine-Linux container. I know that Alpine uses apk add to install packages but apk add sssd yields no results. Yet the package seems to exist: https://pkgs....
2
votes
1answer
2k views

Unable to ssh into running dropbear sshd. “Bad password attempt” …But password is correct

For some reason, a running dropbear sshd i've got going in a Docker container is telling me Bad password attempt , even though i've doublechecked multiple times that both username and password is 100% ...
3
votes
0answers
6k views

Installing Chromium on Alpine Linux, strange error

I have a Dockerfile setup to install Alpine and Chromium. A few weeks ago the package was working properly and I was able to build with it properly however recently I'm having trouble with the build ...
0
votes
1answer
1k views

Logger with UDP support on Alpine

I am trying to figure which package (if any) I need to install on an Alpine docker image in order for the logger command to support the --udp flag. By default, the logger command in alpine only ...
2
votes
3answers
4k views

Installing Shapely on Alpine docker

I am trying to move my project to docker and I've been using the alpine variant. This is a django project with postgres database Here is how i install the dependencies: ... ADD ./requirements.txt /...
2
votes
0answers
835 views

Docker storage re-mounted in read-only mode when container is generating a lot of large file(20G+)

I am getting stuck with an issue for a couple of days, and hope someone here could help or give some hints. So here is the issue: when I am running some docker images which performs large I/O ...