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
1
vote
0answers
13 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
44 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
14 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
45 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?
0
votes
0answers
64 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
19 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....
0
votes
0answers
100 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 ...
3
votes
0answers
195 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
30 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
25 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
28 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
201 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 ...
0
votes
2answers
710 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
360 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 ...
0
votes
0answers
48 views

NSS/PKCS11 errors in docker alpine wildfly

I am using the woahbase/alpine-wildfly image. I keep receiving the following errors: Caused by: java.security.ProviderException: Could not initialize NSS and Caused by: java.io.IOException: NSS ...
2
votes
1answer
593 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:...
2
votes
0answers
393 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
238 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/...
2
votes
1answer
2k 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
457 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
135 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-...
1
vote
2answers
1k 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
154 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 ...
7
votes
1answer
13k 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
569 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
334 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....
1
vote
1answer
1k 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
5k 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
998 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
3k 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
552 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 ...
-1
votes
1answer
99 views

Installing AIDE in Alpine

I'm trying to make my Alpine instance more secure by installing AIDE but it doesn't seem to be in the repos: #apk add aide fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz ...
3
votes
0answers
217 views

Alpine Linux - root mounted as ro iso9660 filesystem how can I remount as rw overlay? [closed]

The root filesystem is an iso9660 mount. / # mount |grep iso /dev/sr0 on / type iso9660 (ro,relatime) Is there a way to remount root, using aufs in order that I can install packages, compile code, ...
0
votes
1answer
335 views

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 ...
2
votes
0answers
1k views

Using PhangomJS in Docker Alpine

I am trying to use Jenkins as a docker container. For this purpose, I use the official docker image. As we have some integrations tests based on Selenium (Vaadin Workbench really), I need to run ...
7
votes
1answer
12k views

Alpine shell can't find file in docker

I've set up a simple docker container with Alpine and a tool called bowtie2. When I try to run bowtie2-align-s, I get this error: sh: ./bowtie2-align-s: not found However, ls tells me that the file ...
0
votes
1answer
96 views

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. ...
4
votes
2answers
2k views

Alpine linux on AWS / EC2 : how to login with my public key?

I'm trying to install Alpine Linux (v.3.6) on Amazon AWS EC2 via a standard community AMI. I provided my valid ssh key, which does work with all other instances (Amazon Linux) in the same VPC. However,...
11
votes
2answers
3k views

What does Alpine's APK stands for?

Alpine Linux uses apk as its package manager, and its installer files are .apk... Just like Android files are. Are those related in any way? If yes, how? If not, what does APK stands for (Alpine ...
1
vote
2answers
1k views

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: ...
2
votes
1answer
3k views

No php errors in Alpine/Nginx/PHP 7.1.2 with docker

I'm using Alpine / Nginx / PHP-FPM 7.1.2. I can't get PHP error's to display or output to the error.log in my Nginx server block. The access.log seems to work just fine. I've got this at the bottom ...
3
votes
1answer
542 views

openssh hangs with 100% cpu when compression is used

The ansible openssh server hangs with 100% cpu, when compression is requested (ssh -C) ssh -vvv -C root@host [...] debug3: send packet: type 50 debug3: receive packet: type 52 debug1: Enabling ...