Tag: 高山

如何运行我所拉的“sudo docker pull ppc64le / alpine:edge”的docker图像,但运行此图像时出现错误

这些是试图运行图像的方法,任何人都可以请帮助在运行这个边缘拉图像。 $ sudo docker run -i -t ppc64le/alpine:edge /bin/sh -c "echo hello" exec format error docker: Error response from daemon: Cannot start container f6d4a9675de787258cdb0dd7f25abc2f51e956790a6f9b408da56af2fa309320: [9] System error: exec format error. 正常的高山将正常工作 $ sudo docker run -i -t alpine /bin/sh -c "echo hello" Unable to find image 'alpine:latest' locally Trying to pull repository docker.io/library/alpine … latest: […]

如何获得在dockeralipne haprox:1.5日志日志

从haproxy构buildhaproxy容器:1.5高山 ( https://github.com/docker-library/haproxy/blob/1848d2933afbefd0e0a068dc7b5a753ab7842e6c/1.5/alpine/Dockerfile ) haproxy容器启动正常,但我怎么能实现详细的haproxy日志logging,并将其指向标准输出。 我的haproxyconfiguration是 global log /dev/log local0 # log /dev/log local1 notice # chroot /var/lib/haproxy # stats socket /run/haproxy/admin.sock mode 660 level admin stats timeout 30s user haproxy group haproxy daemon tune.ssl.default-dh-param 2048 # Default SSL material locations #ca-base /etc/ssl/certs #crt-base /etc/ssl/private ssl-default-bind-options no-sslv3 ssl-default-bind-ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM enter code here defaults log global […]

如何用libass / l-smash / x264 / fdk-aac静态编译Alpine中的ffmpeg

我正在试图build立一个具有依赖性的静态二进制文件。 它失败: 错误:没有使用pkg-configfindlibass 我以https://github.com/zimbatm/ffmpeg-static/blob/master/build.sh作为示例 这是docker工人 git clone –depth 1 https://github.com/l-smash/l-smash \ && git clone –depth 1 git://source.ffmpeg.org/ffmpeg \ && git clone –depth 1 git://github.com/mstorsjo/fdk-aac.git \ && git clone –depth 1 https://github.com/mulx/aacgain.git \ && git clone –depth 1 git://git.videolan.org/x264.git \ && hg clone https://bitbucket.org/multicoreware/x265 \ && git clone –depth 1 https://chromium.googlesource.com/webm/libvpx \ && git clone –depth […]

Sh:在高山Docker镜像上找不到文件

我在我的Raspberry Pi3上安装了Docker。 我想安装“registry”图像。 因为我没有在ARM中find它,所以我构build了一个AMR版本。 我从git https://github.com/docker/distribution/重新编译了这个二进制文件 我得到一个function二进制文件 # registry –version src_docker/go/bin/registry github.com/docker/distribution v2.6.0+unknown 然后我离开了git https://github.com/docker/distribution-library-image来定制Dockerfile。 FROM arm32v6/alpine:3.5 RUN set -ex \ && apk add –no-cache ca-certificates apache2-utils COPY ./registry/registry /bin/registry COPY ./registry/config-example.yml /etc/docker/registry/config.yml VOLUME ["/var/lib/registry"] EXPOSE 5000 COPY docker-entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] CMD ["/etc/docker/registry/config.yml"] 我当然要用我编译的二进制代替“registry/registry”。 我build立形象: docker build . -t ikise_arm/registry 但是当我执行图像时,它找不到二进制文件 # docker run […]

如何在Alpine Linux上运行一个Shiny Docker容器?

我安装了最新版本的docker,安装了Alpine Linux 2.6 64位。 我拉了摇杆/shiny的容器来testingshiny。 一切都很好,但是当我尝试通过以下方式运行临时容器时: docker run –rm -p 3838:3838 rocker/shiny 我什么也得不到 我通过docker imagesvalidation容器是否存在。 我错过了什么?

两个用户在Docker中

我试图在OpenJDK / Alpine基本映像中运行我的Spring Boot应用程序,并使用Docker的两个用户。 这是我想要支持的场景。 也许有更好的办法。 我需要提供生产支持,所以我想以devuser:appgroup作为devuser:appgroup附加,但我不允许我们的安全部门查看证书或机密,因此应用程序应该以appuser:appgroup运行,它也拥有所有的应用程序文件。 我可以用正确的(?)权限构build图像。 /opt/app $ ls -l total 24552 -r-sr-xr-x 1 appuser appgroup 10632 Jun 27 12:59 app -r——– 1 appuser appgroup 25101769 Jun 27 12:59 app.jar -r-xr-xr– 1 appuser appgroup 327 Jun 27 12:59 app.sh -r——– 1 appuser appgroup 316 Jun 27 12:59 application.yml -r-sr-xr-x 1 root root 10632 […]

如何确定为什么sigterm被发送到在mesos的docker容器内处理运行?

我有一个docker容器,我可以在当地擅长罚款。 然而,当在一个mesos集群上运行时,我得到了SIGTERMS /usr/my_script.sh: line 57: 310 Killed xsltproc sort.xsl ${2} > ${2}_bat W0703 09:09:54.465442 5074 logging.cpp:91] RAW: Received signal SIGTERM from process 2262 of user 0; exiting 我不明白这个问题来自哪里以及如何最好地debugging它。 我怎样才能找出什么是我的容器? 我试图增加可用容量超过4GB的内存,但无济于事。 而且,根据/usr/bin/time -v xsltproc sort.xsl offending_file.xml > sortedFile.xml这个过程应该只消耗1GB RAM。 我也试着用googlesearchW0703的错误输出和5074 logging.cpp:91 ,但是没有用。 它也引发了一个问题,为什么容器在本地运行时没有执行命令的问题。

如何使用Linux Alpine并安装ruby 2.1和nodejs v6.9

我试图创build一个轻量级的docker图像,但使用Linux高山安装特定版本似乎导致许多​​不同的错误。 目前我工作的Dockerfile使用 FROM ruby:2.1.10 RUN apt-get install nodejs=6.11.1 但是这导致了1.69GB的大小。 我想使用Linux的Alpine和安装ruby2.1和nodejs 6.9或6.11 – 我怎么去解决这个问题 1)我试着从ruby开始:2.1.10-alpine,但不能得到apk添加nodejs来安装6.9 2)也尝试从节点开始:6.11.1 – 高山和安装ruby2.1 也许从一个空的高山图像开始安装? 对不起,我不熟悉阿尔卑斯山和安装包似乎是特定于高山版本(也许我错了)。

高山Linuxdocker集主机名

我正在使用Alpine Linux的lwieske / java-8:server-jre-8u121-slim 我想从一个文本文件中设置主机名来全局查看(对于所有的shell) / # env HOSTNAME=2fa4a43a975c / # cat /etc/afile something / # hostname -F /etc/afile hostname: sethostname: Operation not permitted 所有在群中运行的服务 我希望每个节点具有基于容器ID的唯一主机名。

加载共享库libopenblas.so.3时出错:没有这样的文件或目录

加载共享库libopenblas.so.3时出错:没有这样的文件或目录存在 FROM python:3.5-alpine RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/edge/community" >> /etc/apk/repositories RUN apk add –update –no-cache ca-certificates \ RUN apk –no-cache add –virtual .build-deps gcc g++ openblas-dev && ln -s /usr/include/locale.h /usr/include/xlocale.h && pip3 install –no-cache-dir –disable-pip-version-check numpy==1.11.0 \ pandas==0.18.0 \ scipy==0.13.3 \ && apk del .build-deps