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
0 answers

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", "action": "accept", "conn-limit": { "count":…
0
votes
0 answers

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): Access denied for user 'root'@'172.19.0.1' (using…
lily
  • 165
  • 1
  • 7
0
votes
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…
0
votes
1 answer

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 logs (error.log) don't give too much…
lepe
  • 468
  • 1
  • 6
  • 23
0
votes
1 answer

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.alpinelinux.org/package/edge/testing/x86_64/sssd
Fang
  • 155
  • 1
  • 10
0
votes
1 answer

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 supports a very minimal set of flags, and I need the…
DannyB
  • 143
  • 7
0
votes
1 answer

Set of errors when running a docker container

I have been asked to make a couple tweaks to a legacy PHP project that runs inside a docker container. In order to make those tweaks, I am trying to get a local working copy of the app and associated container running. The docker container runs…
0
votes
1 answer

Ansible docker_volume module is not present

Even acomplish with requirements https://docs.ansible.com/ansible/devel/docker_volume_module.html python >= 2.6 (2.7.13) docker-py >= 1.10.0 (1.10.6) I cannot use docker_volume in playbooks. Other docker modules are already…
corretge
  • 217
  • 3
  • 9
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
  • 11
  • 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
0
votes
0 answers

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
  • 6
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
  • 325
  • 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
  • 474
  • 5
  • 17