65 Commits

Author SHA1 Message Date
Wesley Gimenes
7de0c8799b dockerd: remove cgroupfs-mount dependency
The package `cgroupfs-mount` has been removed.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:11:48 -03:00
Vladimir Oltean
2f80944c2b dockerd: fix build issue with custom core.abbrev value in .gitconfig
As documented by "man git-rev-parse", the "--short" option shortens
commit sha1sums to at least "length" characters, equal to core.abbrev if
that is specified in ~/.gitconfig.

The development processes of some other open source projects require
having a

[core]
	abbrev = 12

in the .gitconfig, which is incompatible with the way in which docker
wants PKG_GIT_SHORT_COMMIT.

On my system, I get these errors:

  make[3]: Entering directory 'feeds/packages/utils/dockerd'
  (...)
  # Verify CLI is the same version
  ( CLI_MAKEFILE="../docker/Makefile"; CLI_VERSION=$( grep --only-matching --perl-regexp '(?<=PKG_VERSION:=)(.*)' "${CLI_MAKEFILE}" ); if [ "${CLI_VERSION}" != "27.3.1" ]; then echo "ERROR: Expected 'PKG_VERSION:=27.3.1' in '${CLI_MAKEFILE}', found 'PKG_VERSION:=${CLI_VERSION}'"; exit 1; fi )
  # Verify PKG_GIT_SHORT_COMMIT
  ( EXPECTED_PKG_GIT_SHORT_COMMIT=$( feeds/packages/utils/dockerd/git-short-commit.sh 'github.com/moby/moby' 'v27.3.1' 'tmp/git-short-commit/dockerd-27.3.1' ); if [ "${EXPECTED_PKG_GIT_SHORT_COMMIT}" != "41ca978" ]; then echo "ERROR: Expected 'PKG_GIT_SHORT_COMMIT:=${EXPECTED_PKG_GIT_SHORT_COMMIT}', found 'PKG_GIT_SHORT_COMMIT:=41ca978'"; exit 1; fi )
  Trying remote 'github.com/moby/moby'
  fatal: 'github.com/moby/moby' does not appear to be a git repository
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  Trying remote 'https://github.com/moby/moby'
  remote: Enumerating objects: 11117, done.
  From https://github.com/moby/moby
   * tag                         v27.3.1    -> FETCH_HEAD
  HEAD is now at 41ca978a0a54 Merge pull request #48525 from thaJeztah/27.x_backport_govulncheck_permissions
  ERROR: Expected 'PKG_GIT_SHORT_COMMIT:=41ca978a0a54', found 'PKG_GIT_SHORT_COMMIT:=41ca978'
  make[3]: *** [Makefile:198: build_dir/target-aarch64_generic_glibc/dockerd-27.3.1/.prepared_d76b59f2eb81424899b1fbb9e44f77e2_6664517399ebbbc92a37c5bb081b5c53] Error 1
  make[3]: Leaving directory 'feeds/packages/utils/dockerd'
  time: package/feeds/packages/dockerd/compile#1.71#1.18#5.38
      ERROR: package/feeds/packages/dockerd failed to build.

Since --short supports a length argument, use that to break the
dependency on the system .gitconfig.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2025-03-20 14:25:03 +08:00
Keith T. Garner
f2aa53cdef dockerd: add docker-storage to init
Docker's backend storage driver can be configurable for certain
filesystems. The default is the overlay storage driver, but if you run
openwrt on a system with btrfs, this will allow you to override the
default configuration by settings the storage_driver in uci in dockerd's
global section. This value will be used in the created dockerd.json
file.

Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2025-03-14 00:51:21 +08:00
Gerard Ryan
5e2e9b7e91 dockerd: Improved error msg for rev ver dep check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Milinda Brantini
ade1868986 dockerd: Update to 27.3.1
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-10-02 13:21:20 -07:00
Joe Zheng
dcea616c61 dockerd: fix typo in config for no_proxy
the "http_proxy" here should be "no_proxy"

Signed-off-by: Joe Zheng <joe.zheng@intel.com>
2024-09-13 18:25:22 +08:00
Tianling Shen
9ec663013b dockerd: increase PKG_RELEASE for http proxy update
Fixes: e795bab253 ("dockerd: add config options for http proxy")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-09-13 08:22:50 +02:00
Joe Zheng
e795bab253 dockerd: add config options for http proxy
add config options to set http porxy for dockerd, refer to
https://docs.docker.com/engine/daemon/proxy/ for details

use the *_proxy environment variable as the default value, so in most
cases, dockerd can use the system proxy settings just like opkg.

Signed-off-by: Joe Zheng <joe.zheng@intel.com>
2024-09-13 12:52:05 +08:00
Milinda Brantini
a58474e838 dockerd: Update to 27.1.2
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-08-24 18:29:44 +08:00
Milinda Brantini
84f2027911 dockerd: Update to 27.1.1
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-27 16:37:33 +08:00
Milinda Brantini
7e4cabe225 dockerd: Update to 27.1.0
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-24 11:57:48 +08:00
Milinda Brantini
55e689176e dockerd: fix breaks IPv6 routing
Add option to support ip6tables configuration(default false).

Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-14 12:04:48 -07:00
Milinda Brantini
e7ef6ae485 dockerd: Update to 27.0.3
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-02 15:26:38 +08:00
Milinda Brantini
24d29581e2 dockerd: Update to 27.0.2
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-06-28 00:34:22 -07:00
Milinda Brantini
001e7138dd dockerd: Update to 26.1.4
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-06-24 03:56:21 +08:00
Gerard Ryan
773ca3451a dockerd: Update to 26.1.0
* Removed unnecessary GO lang variables

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2024-05-02 22:59:30 +10:00
Rosen Penev
7ee33e792e treewide: exclude mips64
These packages exclude mips but forget to exclude mips64.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-23 18:59:04 -07:00
Gerard Ryan
5d5a1bc479 dockerd: Update to 25.0.3
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2024-02-21 17:40:53 +08:00
Gerard Ryan
394767bb33 dockerd: Update to 24.0.7
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2024-01-01 10:42:00 +08:00
Oskari Rauta
9596937de3 dockerd: busybox compatibility
build hosts with busybox fail with long options on rm
command. Short versions are supported by all, so this
makes it script compatible with busybox hosts as well.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-17 16:36:30 +03:00
Gerard Ryan
51d6788aed dockerd: Update to 24.0.5
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-08-04 01:40:46 +08:00
Gerard Ryan
9d3c3350a6 dockerd: Update to 24.0.2
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-06-09 21:11:56 +08:00
Andre Heider
565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Gerard Ryan
5597e3cf06 dockerd: Disabled MIPS
* Buildkit doesn't appear to compile

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-03-14 11:08:59 +08:00
Gerard Ryan
3cc32d9728 dockerd: Update to 23.0.1
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-03-14 11:08:59 +08:00
Gerard Ryan
e40f766da1 dockerd: Update to v20.10.22
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2023-01-03 15:08:28 +02:00
Gerard Ryan
f9d3fb9427 dockerd: Update to v20.10.18
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-09-20 21:02:20 +10:00
Gerard Ryan
faa419c4a8 dockerd: Update to v20.10.17
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-07-24 17:35:22 -07:00
Gerard Ryan
81dd38677b dockerd: Update to v20.10.16
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-05-16 06:27:30 -07:00
Gerard Ryan
1f96ec16ec dockerd: Add firewall independent dependencies
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-05-14 21:32:36 -07:00
Gerard Ryan
34c77110f1 dockerd: Sorted dependencies for better diffs
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-05-14 21:32:36 -07:00
Andy Dodd
c3166c5a22 dockerd: Update to 20.10.14, and update version checking mechanism
a7a7c732c0
changed package pinning from commit hash to version for some dependencies
(but not all, libnetwork is still referenced by commit)

Support the version-based pinning mechanism in addition to commit-based

Signed-off-by: Andy Dodd <atd7@cornell.edu>
2022-05-03 11:58:20 -04:00
Liang Yang
9963312067 dockerd: fix compilation with glibc
Signed-off-by: Liang Yang <ggg17226@gmail.com>
2022-04-30 11:54:56 -07:00
Liang Yang
3635c768ab dockerd: fix dependencies missing
Signed-off-by: Liang Yang <ggg17226@gmail.com>
2022-04-29 15:23:02 -07:00
Gerard Ryan
f3937f1e90 dockerd: Update to 20.10.12
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-02-12 19:34:48 -08:00
Nicola Corna
800d69b4b4 dockerd: Add "log-driver" option
Signed-off-by: Nicola Corna <nicola@corna.info>
2022-01-04 17:16:45 +01:00
Gerard Ryan
9526fa352e dockerd: Update to 20.10.11
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-11-22 16:41:05 -08:00
Ren Zongjia
1df75704a1 dockerd: Update to 20.10.10
Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
2021-11-08 17:47:31 -08:00
Michal Vasilek
70c34ac4f7 dockerd: update to 20.10.9
* switch to AUTORELEASE
* fixes CVE-2021-41089

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-10-06 22:43:23 -07:00
Gerard Ryan
dea030d3d7 dockerd: Updated to 20.10.8
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-08-12 18:31:37 +10:00
Florian Eckert
0fded274ec dockerd: refactoring uciadd and ucidel handling
This change makes the handling of adding and deleting interface, device
bridge and firewall more robust.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-15 08:05:22 +02:00
Gerard Ryan
70b1364dd5 dockerd: Updated to 20.10.7
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-06-09 21:12:44 +10:00
Gerard Ryan
0b73b9ca3c dockerd: Updated to 20.10.6
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-04-21 19:19:43 +03:00
Gerard Ryan
567b1fe57e docker,dockerd: Updated to 20.10.5
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-03-13 18:30:49 +10:00
Gerard Ryan
69a15e2460 docker,dockerd: Updated to 20.10.4
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-03-01 19:39:36 +10:00
Gerard Ryan
a54e8acfb5 dockerd: package release bump
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 16:48:46 +10:00
Gerard Ryan
7c6a132d76 dockerd: Added options to setup a dualstack default bridge
* Added IPv6 Support

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 16:29:10 +10:00
Gerard Ryan
b5ef34f5dd docker,dockerd: Updated to 20.10.3
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:29:15 +10:00
Gerard Ryan
0187a8d55a docker,dockerd: Added git-short-commit to verify short commit
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:29:11 +10:00
Gerard Ryan
36c44d780f dockerd: Package release bump
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-25 21:34:10 +10:00