Package Details: docker-rootless-extras 20.10.21-2

Git Clone URL: https://aur.archlinux.org/docker-rootless-extras.git (read-only, click to copy)
Package Base: docker-rootless-extras
Description: Extras to run docker as non-root.
Upstream URL: https://docs.docker.com/engine/security/rootless/
Keywords: containers docker isolation rootless
Licenses: Apache
Conflicts: docker-rootless, docker-rootless-extras, docker-rootless-extras-bin
Provides: docker-rootless, docker-rootless-extras, docker-rootless-extras-bin
Submitter: whynothugo
Maintainer: Stebalien (whynothugo)
Last Packager: whynothugo
Votes: 24
Popularity: 0.72
First Submitted: 2021-04-14 17:58 (UTC)
Last Updated: 2022-11-23 19:46 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

whynothugo commented on 2022-11-23 19:46 (UTC)

Updated, thanks.

leuko commented on 2022-11-23 16:27 (UTC)

I can confirm @cafce25. I get:

$ docker ps -a
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?

without slirp4netns. Why is slirp4netns optional?

cafce25 commented on 2022-10-11 21:11 (UTC)

I tried to install this today, but as it is it fails to start cause it can't find either vpnkit or slirp4netns. I think vpnkit was at one point provided with this package but is no longer? For now installing slirp4netns package works for me.

whynothugo commented on 2022-05-11 10:03 (UTC)

The only binary file in this package is vpnkit. I'm considering splitting that out into an optional dependency, and then merging this into docker-rootless-extras.

The distinction between this and the non-bin package is pointless, this this package is mostly shell files that don't require any building.

Stebalien commented on 2022-04-29 09:00 (UTC)

@whynothugo I've added you as a comaintainer (just in case).

Stebalien commented on 2022-04-29 08:59 (UTC)

Well, that was careless of me. Fixed.

I've also changed the PKGBUILD to version the downloaded script so I don't make this mistake again.

whynothugo commented on 2022-04-28 22:46 (UTC) (edited on 2022-04-28 22:47 (UTC) by whynothugo)

Odd:

Pushing to ssh://aur.archlinux.org/docker-rootless-extras.git
Confirm user presence for key ED25519-SK SHA256:Ewjm142eXtQFsgCw8WilMpgdu9IN8h6iwyJydf475E4
User presence confirmed
git-receive-pack: permission denied: whynothugo
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Here's a patch if you're in a hurry:

commit 95ba6e38765509c1072d213159284e02fcf9b125 (HEAD -> master)
Author: Hugo Osvaldo Barrera <hugo@barrera.io>
Date:   Fri Apr 29 00:42:08 2022 +0200

    Avoid using old, cached versions on rebuilds

diff --git a/.SRCINFO b/.SRCINFO
index f8dbcde..da0cb9c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = docker-rootless-extras
    pkgdesc = Extras to run docker as non-root.
    pkgver = 20.10.14
-   pkgrel = 1
+   pkgrel = 2
    url = https://docs.docker.com/engine/security/rootless/
    install = docker-rootless-extras.install
    arch = x86_64
@@ -11,11 +11,11 @@ pkgbase = docker-rootless-extras
    depends = rootlesskit
    optdepends = fuse-overlayfs: overlayfs support
    optdepends = slirp4netns: faster network stack
-   source = https://raw.githubusercontent.com/moby/moby/v20.10.14/contrib/dockerd-rootless.sh
+   source = dockerd-rootless-20.10.14.sh::https://raw.githubusercontent.com/moby/moby/v20.10.14/contrib/dockerd-rootless.sh
    source = docker.service
    source = docker.socket
    source = 99-docker-rootless.conf
-   sha256sums = 91cc2aa9fb386fb4f8d9e73218c0623ddb4dd4fdee9946b81f8392651252d1dd
+   sha256sums = 07fd43a5adad652bb9d15d5cec851c0f563fe1cf8c5f0d5123b45b0e118404dd
    sha256sums = 7c31c7f7755776bf9571e551ff4006035562e4394d88166809dd71b2ba847fc5
    sha256sums = d8695293e5d4a814763f13e1d36ed37273040666b4b91363d6c33171df8934c7
    sha256sums = d0d790d4c3d887b10b2b155b83a58a44980b9fa638f8c0f1faec0739dc0ef473
diff --git a/PKGBUILD b/PKGBUILD
index 6f50c5a..44da898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=docker-rootless-extras
 pkgver=20.10.14
-pkgrel=1
+pkgrel=2
 pkgdesc="Extras to run docker as non-root."
 arch=('x86_64' 'aarch64')
 url="https://docs.docker.com/engine/security/rootless/"
@@ -12,18 +12,18 @@ optdepends=('fuse-overlayfs: overlayfs support'
             'slirp4netns: faster network stack')
 install=$pkgname.install
 source=(
-        "https://raw.githubusercontent.com/moby/moby/v${pkgver}/contrib/dockerd-rootless.sh"
+        "dockerd-rootless-$pkgver.sh::https://raw.githubusercontent.com/moby/moby/v${pkgver}/contrib/dockerd-rootless.sh"
         "docker.service"
         "docker.socket"
         "99-docker-rootless.conf")
-sha256sums=('91cc2aa9fb386fb4f8d9e73218c0623ddb4dd4fdee9946b81f8392651252d1dd'
+sha256sums=('07fd43a5adad652bb9d15d5cec851c0f563fe1cf8c5f0d5123b45b0e118404dd'
             '7c31c7f7755776bf9571e551ff4006035562e4394d88166809dd71b2ba847fc5'
             'd8695293e5d4a814763f13e1d36ed37273040666b4b91363d6c33171df8934c7'
             'd0d790d4c3d887b10b2b155b83a58a44980b9fa638f8c0f1faec0739dc0ef473')


 package() {
-  install -Dm755 "$srcdir/dockerd-rootless.sh" "$pkgdir/usr/bin/dockerd-rootless.sh"
+  install -Dm755 "$srcdir/dockerd-rootless-$pkgver.sh" "$pkgdir/usr/bin/dockerd-rootless.sh"
   install -Dm644 "$srcdir/docker.service" "$pkgdir/usr/lib/systemd/user/docker.service"
   install -Dm644 "$srcdir/docker.socket" "$pkgdir/usr/lib/systemd/user/docker.socket"
   install -Dm644 "$srcdir/99-docker-rootless.conf" "$pkgdir/usr/lib/sysctl.d/99-docker-rootless.conf"

gamezelda commented on 2022-04-28 22:34 (UTC)

The checksum should be changed after the update to 20.10.14.

Stebalien commented on 2022-04-28 17:52 (UTC)

@whynothugo thanks!

whynothugo commented on 2022-04-28 16:51 (UTC)

Never version is out:

diff --git a/.SRCINFO b/.SRCINFO
index 6f343e3..f8dbcde 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = docker-rootless-extras
    pkgdesc = Extras to run docker as non-root.
-   pkgver = 20.10.9
+   pkgver = 20.10.14
    pkgrel = 1
    url = https://docs.docker.com/engine/security/rootless/
    install = docker-rootless-extras.install
@@ -11,7 +11,7 @@ pkgbase = docker-rootless-extras
    depends = rootlesskit
    optdepends = fuse-overlayfs: overlayfs support
    optdepends = slirp4netns: faster network stack
-   source = https://raw.githubusercontent.com/moby/moby/v20.10.9/contrib/dockerd-rootless.sh
+   source = https://raw.githubusercontent.com/moby/moby/v20.10.14/contrib/dockerd-rootless.sh
    source = docker.service
    source = docker.socket
    source = 99-docker-rootless.conf
diff --git a/PKGBUILD b/PKGBUILD
index 10cac19..6f50c5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>

 pkgname=docker-rootless-extras
-pkgver=20.10.9
+pkgver=20.10.14
 pkgrel=1
 pkgdesc="Extras to run docker as non-root."
 arch=('x86_64' 'aarch64')