All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
379 views

Can’t run docker containers in linux CentOS, how to fix it?

Can’t run docker containers in linux CentOS, how to fix it? [root@mycentos ~]# docker run alpine container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup ...
2
votes
2answers
169 views

logrotate with only size option does not rotate. This is inside Alpine docker container

I have below configuration for access logs cat /etc/logrotate.d/logrotate_nginx.conf /nginx/access/logs/*.log { rotate 2 size 1k missingok compress notifempty copytruncate } There is no ...
0
votes
1answer
51 views

does “Ignoring APKINDEX” mean the image does not install apk search command tool?

I am trying to use this docker image big-data-europe/docker-spark, based on "Alpine Linux v3.8" when I try to search sbt apk search sbt I got WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such ...
1
vote
0answers
151 views

Cannot mix incompatible Qt library (version 0x50c03) with this library (version 0x50c00)

I use alpine-php fpm docker container for developing and deploying a php application. I want to use wkhtmltopdf for generating pdfs. I installed by using apk add wkhtmltopdf But when I run it I ...
1
vote
1answer
377 views

/bin/sh: /usr/bin/wkhtmltopdf: not found

I installed /bin/sh: wkhtmltopdf /usr/bin/ directory. However when I try to run the program by entering /usr/bin/wkhtmltopdf to shell I receive an error /bin/sh: /usr/bin/wkhtmltopdf: not found. It ...
0
votes
1answer
150 views

Alpine 3.9.4 update busybox 1.30.0

I am using latest stable version of alpine 3.9.4 image. this image comes with busybox -1.29.3-r10. I need to upgrade to busybox 1.30.0. apk upgrade busybox command not upgrading the package. What is ...
2
votes
1answer
1k views

Alpine Linux apk add gives permission error

I'm trying to install packages in a docker image based on alpine. The host system is CentOS system, system-release: CentOS Linux release 7.6.1810 (Core). Here's what I do: # docker run -td alpine:3....
2
votes
1answer
1k views

Can't install openjdk8-jre in Docker Alpine Linux image

Alpine 3.7 and 3.9. apk add htop works fine. apk add openjdk8-jre hangs forever. Problem step: (25/36) Installing openjdk8-jre-lib (8.201.08-r0) usr/ (dir) usr/lib/ (dir) usr/lib/jvm/ (dir) usr/lib/...
0
votes
1answer
352 views

How to know the Bluetooth MAC address in Alpine Linux

I am deploying a docker in Raspberry Pi 3. Inside docker I need to know the MAC of Bluetooth device. Normally I would find that using hciconfig | grep "BD Address" | awk '{ print $3}' hciconfig ...
1
vote
1answer
321 views

How to get the source code used to build the packages of the base alpine linux docker image?

Why I want to know this: Currently I use apt-get source to get the source code for all packages within my Debian based docker images to comply with the GPL when I distribute the docker images. Now ...
1
vote
0answers
69 views

Why my newly created user is not inheriting $PATH variable

I added a new user dev on my Alpine based image. After switching to the new user I see env variables are different in case of both root and dev user. Specially $PATH variable is different. But I think ...
0
votes
2answers
1k views

apk tool gives permission denied

I get this error message running alpine linux in a docker container hosted by Ubuntu 18.04 in Vagrant with its host in turn being Windows 10 behind a proxy. I have set the proxy variables but still ...
0
votes
1answer
304 views

Simulate connection problems in container

I am debugging an issue with application which connects to RabbitMQ. So I have docker-compose file with 2 containers: my app and RebbitMQ. I would like to see what is going on if there are serious ...
1
vote
2answers
4k views

sshpass not functioning in alpine linux

When I install sshpass on alpine linux it will install and the doc will show up if you run it without arguments, but using any argument (valid or invalid) returns sshpass: Failed to run command: No ...
2
votes
2answers
5k views

Drop packets with PREROUTING in iptables

The filter table is best place to drop packets, agreed. But, out of the box, Docker bypasses INPUT filter rules with PREROUTING to its own FORWARD rules making Docker containers world-accessible. ...
4
votes
0answers
2k views

Why is crond failing to run a non-root crontab on alpine linux?

I am having a nasty time running a non-root crontab file on Alpine Linux. I've been through two other cron related posts and I don't have an answer: https://askubuntu.com/questions/23009/why-crontab-...
2
votes
2answers
429 views

How to find out if there is a package with certain command in AlpineLinux?

Specifically I'm trying to find out what pakage I have to install in order to get disown command in docker based on Alpine Linux? Moreover it would be nice if someone could enlight me how in general I ...
1
vote
0answers
903 views

Docker with Alpine Linux with Ioncube Loader and PHP 5.6 / 7

I tried two different Docker images alpine:edge with PHP7.0.10 (ionCube Loader Beta8) and alpine:3.4 with PHP 5.6.25 (ionCube 5.1.2, ioncube_loader_lin_5.6.so). I figured so far that PHP7 needs to be ...
3
votes
1answer
3k views

GPG Key Generation Fails on Alpine Linux Docker Image

I've performed the following test on a docker alpine linux: ole@MKI:~$ docker run --rm -it alpine /bin/ash / # apk add --update duplicity fetch http://dl-4.alpinelinux.org/alpine/v3.3/main/x86_64/...
0
votes
0answers
1k views

Testing OpenSSH logging

I'm attempting to turn on logging inside OpenSSH running in an Alpine Docker container. I made sure to install rsyslog and start the daemon with /usr/sbin/rsyslogd. My sshd logging settings are as ...
8
votes
3answers
9k views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build -...