Package Details: docker-git 27.3.1+r50521+gfc68ffcb1-1

Git Clone URL: https://aur.archlinux.org/docker-git.git (read-only, click to copy)
Package Base: docker-git
Description: Pack, ship and run any application as a lightweight container -git latest
Upstream URL: https://www.docker.com/
Keywords: cgroups containers
Licenses: Apache-2.0
Conflicts: docker
Provides: docker
Submitter: ido
Maintainer: envolution
Last Packager: envolution
Votes: 45
Popularity: 0.000000
First Submitted: 2013-12-05 18:13 (UTC)
Last Updated: 2024-11-18 07:56 (UTC)

Required by (219)

Sources (4)

Latest Comments

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

envolution commented on 2024-11-18 07:59 (UTC)

Assuming all of the below issues are solved as the build is rebased to upstream arch build. Please let me know of any packaging issues encountered.

cjcapps commented on 2024-01-19 21:07 (UTC)

to actually fix the docker-proxy issue mentioned many times below, I had to run: go env -w GO111MODULE=off

to then fix the build, it seems that the binary 'dockerd-dev' is now called 'dockerd', which needs updated in the PKGBUILD

korimitsu commented on 2022-12-07 16:26 (UTC)

Fails to build today:

$ pamac build docker-git
Preparing...
Checking docker-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (1):
  go-md2man   2.0.2-2                (Required By: docker-git)     community  735.8 kB
To build (1):
  docker-git  1:r39078.b5ea9abf25-1                                AUR
To remove (3):
  docker      1:20.10.21-1           (Conflicts With: docker-git)  community
  containerd  1.6.10-1               (Conflicts With: docker-git)  community
  runc        1.1.4-1                (Conflicts With: docker-git)  community

Total download size: 735.8 kB
Total installed size: 2.1 MB
Total removed size: 249.4 MB

Edit build files : [e] 
Apply transaction ? [e/y/N] y

Download of go-md2man (2.0.2-2) started                                                                                                                                    
Download of go-md2man (2.0.2-2) finished                                                                                                                                   
Checking keyring...                                                                                                                                                   [1/1]
Checking integrity...                                                                                                                                                 [1/1]
Loading packages files...                                                                                                                                             [1/1]
Checking file conflicts...                                                                                                                                            [1/1]
Checking available disk space...                                                                                                                                      [1/1]
Installing go-md2man (2.0.2-2)...                                                                                                                                     [1/1]
Cloning docker-git build files...
Generating docker-git information...

Building docker-git...
==> Making package: docker-git 1:r39078.b5ea9abf25-1 (Wed 07 Dec 2022 00:16:14)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning moby git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/moby'...
remote: Enumerating objects: 469259, done.
remote: Counting objects: 100% (266/266), done.
remote: Compressing objects: 100% (212/212), done.
remote: Total 469259 (delta 125), reused 103 (delta 51), pack-reused 468993
Receiving objects: 100% (469259/469259), 278.73 MiB | 4.41 MiB/s, done.
Resolving deltas: 100% (315252/315252), done.
  -> Cloning docker-ce git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/docker-ce'...
remote: Enumerating objects: 476685, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 476685 (delta 1), reused 2 (delta 0), pack-reused 476675
Receiving objects: 100% (476685/476685), 185.23 MiB | 3.11 MiB/s, done.
Resolving deltas: 100% (240472/240472), done.
  -> Cloning containerd git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/containerd'...
remote: Enumerating objects: 122908, done.
remote: Counting objects: 100% (1414/1414), done.
remote: Compressing objects: 100% (936/936), done.
remote: Total 122908 (delta 800), reused 914 (delta 464), pack-reused 121494
Receiving objects: 100% (122908/122908), 106.14 MiB | 4.77 MiB/s, done.
Resolving deltas: 100% (77718/77718), done.
  -> Cloning runc git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/runc'...
remote: Enumerating objects: 50711, done.
remote: Counting objects: 100% (548/548), done.
remote: Compressing objects: 100% (325/325), done.
remote: Total 50711 (delta 294), reused 405 (delta 218), pack-reused 50163
Receiving objects: 100% (50711/50711), 22.94 MiB | 4.70 MiB/s, done.
Resolving deltas: 100% (33709/33709), done.
  -> Cloning libnetwork git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/libnetwork'...
remote: Enumerating objects: 31716, done.
remote: Counting objects: 100% (495/495), done.
remote: Compressing objects: 100% (337/337), done.
remote: Total 31716 (delta 236), reused 317 (delta 152), pack-reused 31221
Receiving objects: 100% (31716/31716), 29.50 MiB | 5.20 MiB/s, done.
Resolving deltas: 100% (18193/18193), done.
  -> Cloning tini git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/docker-git/tini'...
remote: Enumerating objects: 1394, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 1394 (delta 33), reused 59 (delta 24), pack-reused 1310
Receiving objects: 100% (1394/1394), 326.71 KiB | 1.86 MiB/s, done.
Resolving deltas: 100% (749/749), done.
  -> Found docker.install
==> Validating source files with md5sums...
    moby ... Skipped
    docker-ce ... Skipped
    containerd ... Skipped
    runc ... Skipped
    libnetwork ... Skipped
    tini ... Skipped
    docker.install ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of moby git repo...
Cloning into 'moby'...
done.
  -> Creating working copy of docker-ce git repo...
Cloning into 'docker-ce'...
done.
  -> Creating working copy of containerd git repo...
Cloning into 'containerd'...
done.
  -> Creating working copy of runc git repo...
Cloning into 'runc'...
done.
  -> Creating working copy of libnetwork git repo...
Cloning into 'libnetwork'...
done.
  -> Creating working copy of tini git repo...
Cloning into 'tini'...
done.
==> Starting prepare()...
/var/tmp/pamac-build-user/docker-git/src
==> Starting pkgver()...
==> Updated version: docker-git 1:r45092.0ff5ce825c-1
==> Starting build()...
  -> building runc
go build -trimpath "-buildmode=pie"  -tags "seccomp apparmor selinux" -ldflags "-X main.gitCommit=v1.1.0-343-g2da01942 -X main.version=1.1.0+dev " -o runc .
  -> generating runc manpages
/var/tmp/pamac-build-user/docker-git/src/runc/man
go-md2man is /usr/bin/go-md2man
  -> building containerd
+ bin/ctr
go build  -gcflags=-trimpath=/var/tmp/pamac-build-user/docker-git/src/go/src -buildmode=pie  -o bin/ctr -ldflags '-X github.com/containerd/containerd/version.Version=v1.7.0-beta.0-261-g5f845588a -X github.com/containerd/containerd/version.Revision=5f845588a55e1fa46db7bb3e578dbac53ba65bf0 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd -s -w ' -tags "urfave_cli_no_docs"  ./cmd/ctr
+ bin/containerd
go build  -gcflags=-trimpath=/var/tmp/pamac-build-user/docker-git/src/go/src -buildmode=pie  -o bin/containerd -ldflags '-X github.com/containerd/containerd/version.Version=v1.7.0-beta.0-261-g5f845588a -X github.com/containerd/containerd/version.Revision=5f845588a55e1fa46db7bb3e578dbac53ba65bf0 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd -s -w ' -tags "urfave_cli_no_docs"  ./cmd/containerd
+ bin/containerd-stress
go build  -gcflags=-trimpath=/var/tmp/pamac-build-user/docker-git/src/go/src -buildmode=pie  -o bin/containerd-stress -ldflags '-X github.com/containerd/containerd/version.Version=v1.7.0-beta.0-261-g5f845588a -X github.com/containerd/containerd/version.Revision=5f845588a55e1fa46db7bb3e578dbac53ba65bf0 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd -s -w ' -tags "urfave_cli_no_docs"  ./cmd/containerd-stress
+ bin/containerd-shim
+ bin/containerd-shim-runc-v1
+ bin/containerd-shim-runc-v2
+ binaries
  -> building docker-proxy
no required module provides package github.com/docker/libnetwork/cmd/proxy: go.mod file not found in current directory or any parent directory; see 'go help modules'
==> ERROR: A failure occurred in build().
    Aborting...

Unsubtle7826 commented on 2021-11-15 20:16 (UTC)

Fails to compile with

==> Starting build()...
  -> building runc
go build -trimpath "-buildmode=pie"  -tags "seccomp apparmor selinux" -ldflags "-X main.gitCommit=v1.0.0-368-g7c219d81 -X main.version=1.0.0+dev " -o runc .
  -> generating runc manpages
/home/minef/.cache/yay/docker-git/src/runc/man
go-md2man is /usr/bin/go-md2man
  -> building containerd
+ bin/ctr
+ bin/containerd
+ bin/containerd-stress
+ bin/containerd-shim
+ bin/containerd-shim-runc-v1
+ bin/containerd-shim-runc-v2
+ binaries
  -> building docker-proxy
no required module provides package github.com/docker/libnetwork/cmd/proxy: go.mod file not found in current directory or any parent directory; see 'go help modules'
==> ERROR: A failure occurred in build().
    Aborting...
checking dependencies...

Packages (1) go-md2man-2.0.1-1

Total Removed Size:  2,47 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/1) removing go-md2man                                                                                           [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> error making: docker-git

mngroon commented on 2021-04-27 15:34 (UTC)

Fails to build with error: --> no required module provides package github.com/docker/libnetwork/cmd/proxy: go.mod file not found in current directory or any parent directory; see 'go help modules' ==> ERROR: A failure occurred in build().

dr460nf1r3 commented on 2021-02-23 19:40 (UTC)

Fails to compile with -> building docker-proxy no required module provides package github.com/docker/libnetwork/cmd/proxy: working directory is not part of a module

carsonreinke commented on 2021-01-08 18:37 (UTC)

Anybody know why the docker-cli is locked on an old version 17.06.0? That version is missing docker login --password-stdin. I just updated and built locally without any problem.

flaccid commented on 2020-11-08 09:48 (UTC)

@frebib to save the need for that, i've kept it local by exporting the locally used GOPATH in each stage, it was needed in package(). Tested ok for me, but hopefully this solved the issue permanently.

frebib commented on 2020-11-05 16:34 (UTC)

Came here so say that I'm having the same problem as mikeccuk2005. It's preferring my global GOPATH instead of the one set in the prepare function. Copying the export GOPATH=... line to the top of the build function fixes it and I'm able to build