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
1
vote
1 answer

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/systemd/system/docker.service.d/startup_options.conf…
Liam Wells
  • 21
  • 4
1
vote
1 answer

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-9249e81978df / ext4 rw,relatime,data=ordered…
Opsse
  • 131
  • 1
  • 6
1
vote
1 answer

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 my Dockerfile my Dockerfile : FROM alpine RUN…
idiocrate
  • 23
  • 5
1
vote
2 answers

crond: can't set groups: Operation not permitted

This morning I upgraded my PHP version to 7.1 and am seeing an issue when cron tries to run php /var/www/html/artisan schedule:run (a simple PHP command) I see the output: 3/3/2017 10:39:00 AMcrond: can't set groups: Operation not permitted 3/3/2017…
Ben
  • 3,800
  • 18
  • 65
  • 96
1
vote
1 answer

Alpine Linux 3.17 does not mount CephFS during boot

I have configured a CephFS fuse mount in fstab on my Alpine Linux 3.17 as follows: none /data fuse.ceph ceph.id=filer,ceph.client_mds_namespace=files,_netdev 0 0 When I issue a mount -a the filesystem is mounted properly to /data as expected.…
roehrijn
  • 223
  • 2
  • 8
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
  • 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
  • 132
  • 1
  • 2
  • 8
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
  • 150
  • 3
  • 15
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,667
  • 2
  • 17
  • 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
  • 63
  • 1
  • 6
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
  • 173
  • 1
  • 10
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