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.

92 questions
1
vote
2 answers

Alpine in a docker container accessible from the docker host via ssh

A little preamble: some CICD integration tests need to be able to connect via ssh to a user with a suite of test files in its home directory. This is the Dockerfile I wrote to create that: FROM alpine:latest WORKDIR /src COPY ./src /src RUN apk…
Peter Wone
  • 121
  • 1
  • 6
1
vote
1 answer

Segmentation fault of Bacula on Apline Linux

I'm trying to run Bacula (backup app) on Apline Linux and get segmentation fault when connecting thru bconsole to bacula-dir. I was tried working configuration from another non-Alpine server, clean configuration from Alpine latest-stable and from…
Vladimir Martsul
  • 133
  • 1
  • 2
  • 6
1
vote
0 answers

Jenkins cannot run ssh-agent, but local container can

I'm trying to configure an SSH key on my Jenkins instance with the SSH Agent Plugin. Jenkins is using Kubernetes containers as workers. My worker container image is alpine based, and just installs ansible and sshd. If I run a container locally, I am…
jackwise
  • 239
  • 1
  • 3
  • 9
1
vote
0 answers

How to prepare custom Alpine Linux ISO for unattended installation

I am evaluating Alpine Linux to replace CentOS, Currently we prepare Custom ISO with kickstart for unattended installations. In my case from unattended I mean that deployer just put USB and after that installer finish without asking any input. For…
ImranRazaKhan
  • 115
  • 2
  • 13
1
vote
1 answer

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 But I am not sure if I should be setting it's…
1
vote
3 answers

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 dated like 2015. My issue is 2021 and was working…
John Siu
  • 3,577
  • 2
  • 15
  • 23
1
vote
1 answer

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/mysqld && \ chown -R mysql /var/lib/mysql /run/mysqld &&…
nail0x
  • 43
  • 4
1
vote
1 answer

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 the sticky bit, but it's already set. What's…
Eddified
  • 193
  • 2
  • 7
1
vote
2 answers

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 VM (not container), and arch is aarch64. The…
ozkolonur
  • 129
  • 1
  • 4
1
vote
0 answers

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 script -q -c "./spiral migrate:status" /dev/null The problem is that my containers are alpine and there is no…
ogbofjnr
  • 161
  • 1
  • 7
1
vote
2 answers

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.0: Unknown Object Identifier (Sub-id not found:…
Stephen Rasku
  • 173
  • 1
  • 2
  • 8
1
vote
0 answers

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 into the container: /srv/apps/*/logs/*.log The…
Marco
  • 11
  • 1
1
vote
0 answers

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.11.5 and nginx version is 1.17.10 nginx.conf…
zaw
  • 11
  • 2
1
vote
1 answer

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 without restarting my container? I tried: # sudo service…
user674669
  • 159
  • 6
1
vote
2 answers

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? EDIT: # touch --help BusyBox v1.28.4 (2018-12-06…
aclowkay
  • 133
  • 4