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

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
  • 1
  • 7
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
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
  • 185
  • 2
  • 7
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
  • 469
  • 2
  • 6
  • 25
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
  • 167
  • 1
  • 12
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

Portainer can't access docker socket without chmod 666 workaround

Environment: Alpine Linux (3.18) I've got a portainer docker container that can't access the docker socket. I've added my user to the docker group. I make the container with the following command: docker run -d --restart always -p 9001:9000 -v…
m4p85r
  • 315
  • 2
  • 7
0
votes
0 answers

Can't see udp packets with nc command, works with tcpdump

I'm trying to capture UDP data using the nc (netcat) command but it doesn't output anything. What options/parameters do I need to pass to the nc command to get the output? tcpdump does show the UDP data. The reason I'm trying nc is that when I know…
Martijn de Munnik
  • 123
  • 1
  • 1
  • 4
0
votes
1 answer

how to install Bazel into Alpine container using apk

I want to install Bazel (version 5.1.1) into an Alpine container using apk. I tried this command and got this error: % apk add bazel=5.1.1 ERROR: unable to select packages: bazel (no such package): required by: world[bazel=5.1.1] Removing the…
Mike W
  • 125
  • 1
  • 5
0
votes
1 answer

How to perform security updates of Docker Alpine

I stumbled upon a tricky situation: I read on the Docker Alpine main page that the image is getting updated every month for minor versions/security fixes. Packages with CVE are not updated for the stable version (v3.17.*) but are on the edge…
Kaymaz
  • 241
  • 3
  • 11
0
votes
1 answer

Enable TLSv1.1 on httpd 2.4.56 running on Docker

I am trying to modernize the infrastructure of a HTTP web service. I want to update the web server to something more recent and secure, but I have to maintain compatibility with some legacy devices in the field that are unable to connect using…
0
votes
1 answer

Alpine Linux on Docker: is it possible to configure the thread stack size?

I notice that an application (written in C++) is crashing on Alpine, with a segmentation fault. After some investigation, it looks like the problem is the small thread stack size of Alpine. The same problem, indeed, does NOT occur when running the…