Tag: archlinux

Arch Linux,Docker“设备上没有剩余空间”

我看到的所有类似问题都是通过清理图像或容器或孤立的卷来解决的,但是我没有任何这些问题。 我甚至完全删除了/var/lib/docker而仍然没有任何东西。 相关产出: [N] ⋊> ~/W/W/cocagne on master ⨯ docker run –rm -v /var/run/docker.sock:/var/run/docker.sock:ro -v /var/lib/docker:/var/lib/docker martin/docker-cleanup-vol umes docker: Error response from daemon: Container command '/usr/local/bin/docker-cleanup-volumes.sh' not found or does not exist.. [N] ⋊> ~/W/W/cocagne on master ⨯ docker-compose build 11:56:23 mysql uses an image, skipping Building vitess Traceback (most recent call last): File "/usr/bin/docker-compose", […]

Docker:–ipc =主机和安全

所以为了让MIT-SHM能够在–ipc host容器中运行的应用程序和主机上运行的x11之间工作,我必须在启动容器的时候传递–ipc host 。 我已经阅读了关于它应该做什么的文档。 假设应用程序不是作为根目录(在容器内)运行的,那么这个打开的可能的攻击向量是什么? 换句话说,– –ipc host多大的安全性?

使用yaourt和> makepkg-4.2.0自动构build并安装AUR for Arch Linux中的软件包

我在Docker-Container中使用Docker和Arch Linux。 介绍makepkg-4.2.0我的安装命令与yaourt被打破如下所述: https : //github.com/archlinuxfr/yaourt/issues/67 问题是,yaourt应该以非root用户身份运行。 但是,由于yaourt也希望在每种情况下都安装这个软件包,所以在构build它之后,需要root用户或者拥有安装软件包权限的用户。 所以我的问题是如何解决这个问题? 我想在Docker里面安装一个来自AUR的Package,因为还没有官方的Package。 到目前为止,我正在使用Arch Linux,pacman和yaourt。 所以命令, RUN yaourt -S –noconfirm aur/taskd 安装taskd,在makepkg-4.2.0之前工作: 使用新的makepkg版本构buildDocker失败,出现以下来自yaourt的错误: makepkg: invalid option '–asroot' 如果我将用户更改为非root用户,并尝试安装包,我会在我的自动构build中得到一个命令提示符,询问实际安装包的根密码。 Password: su: Authentication information cannot be recovered Password: su: Authentication information cannot be recovered Password: su: Authentication information cannot be recovered The command [/bin/sh -c yaourt -S –noconfirm aur/taskd] returned […]

如何使用gitlab-ci构builddocker内的archlinux pkgbuild

我需要在Docker中使用gitlab-ci,以便在每次提交时自动构build和testingarchlinux软件包。 我的.gitlab-ci.yml : image: pritunl/archlinux before_script: – pacman -Su pkgbuild-introspection –noconfirm stages: – build makepkg: script: – makepkg –clean –rmdeps –syncdeps –noarchive –noconfirm –noprogressbar –asdeps stage: build 一切都很好,但是当CI调用makepkg命令时,我得到这个错误: ==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. ==> ERROR: An unknown error has occurred. Exiting… […]