dockerd install error

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: dockerd install error

Post by Lantis »

Don’t run it as root using that bypass flag, that will not work, hence you got no images.
If you want to use 1.14 that’s your choice, but I wouldn’t go backwards unnecessarily.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

Build from master branch, where was no wifi, the ui seem buggy, some labels are misssing. Build from 1.14 branch but image version is still gargoyle_1.15.x-ramips-mt7621-xiaomi_mi-router-3g-squashfs-sysupgrade. Makefile in 1.14 contains

Code: Select all

GARGOYLE_VERSION:=1.15.X (Built $(shell echo "`date -u +%Y%m%d-%H%M` git@`git log -1 --pretty=format:%h`"))

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: dockerd install error

Post by Lantis »

Checkout “base_on_openwrt_2305”

If you have GUI issues after a build it is likely that python is not in your path. On Ubuntu you would install “python-is-python3”. I don’t know what you need to do for WSL but it would be similar.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

build from base_on_openwrt_2305 branch, gui seems to be ok, but no wifi.
https://photos.app.goo.gl/AAyib1KeHEeZipRE6
And in openwrt 23.05 dockerd seems to be removed.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: dockerd install error

Post by Lantis »

Download your router from here:
https://lantisproject.com/downloads/gar ... JwbCI6MTB9

Let me know if wifi works. It will have ipvs kmod pre-installed.
dockerd definitely exists under 23.05... but it may have failed to compile for your specific architecture (mipsel_24kc).
Again perhaps you could try to compile this yourself but you are struggling with the image compilation to begin with.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

Thank you Lantis, wifi works and everything seems fine except there is no upnp plugin, but it's not a problem for now, because it didn't work on 1.14 official image either (devices couldn't map ports using upnp, had to do it manually).
As for dockerd maybe it's not compiled for this architecture:

Code: Select all

root@Gargoyle:~# opkg list | grep docker
docker - 27.3.1-1 - The CLI used in the Docker CE and Docker EE products.
docker-compose - 2.18.1-1 - Multi-container orchestration for Docker
python3-docker - 6.0.1-3 - A Python library for the Docker Engine API. It lets you do anything the
             docker command does, but from within Python apps – run containers manage
python3-docker-src - 6.0.1-3 - A Python library for the Docker Engine API. It lets you do anything the
             docker command does, but from within Python apps – run containers manage
             This package contains the Python source files for python3-docker.
python3-dockerpty - 0.4.1-4 - Python library to use the pseudo-tty of a docker container
python3-dockerpty-src - 0.4.1-4 - Python library to use the pseudo-tty of a docker container
             This package contains the Python source files for python3-dockerpty.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: dockerd install error

Post by Lantis »

You can install upnp from the same site. Just add the plugins repository (it is the next table on the page).
Yes, dockerd was not compiled for your arch like I said.

This is really a dead end for you at this point unless you want to get more advanced.
I will post back the only modifications necessary to compile a working image for your interest.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: dockerd install error

Post by Lantis »

Code: Select all

diff --git a/targets/ramips/profiles/mt7621/config b/targets/ramips/profiles/mt7621/config
index af5d3276..9d355501 100644
--- a/targets/ramips/profiles/mt7621/config
+++ b/targets/ramips/profiles/mt7621/config
@@ -3464,7 +3464,7 @@ CONFIG_PACKAGE_kmod-crypto-cbc=m
 CONFIG_PACKAGE_kmod-crypto-ccm=m
 # CONFIG_PACKAGE_kmod-crypto-chacha20poly1305 is not set
 CONFIG_PACKAGE_kmod-crypto-cmac=m
-CONFIG_PACKAGE_kmod-crypto-crc32c=m
+CONFIG_PACKAGE_kmod-crypto-crc32c=y
 CONFIG_PACKAGE_kmod-crypto-ctr=m
 CONFIG_PACKAGE_kmod-crypto-cts=m
 # CONFIG_PACKAGE_kmod-crypto-deflate is not set
@@ -3477,7 +3477,7 @@ CONFIG_PACKAGE_kmod-crypto-ecb=m
 CONFIG_PACKAGE_kmod-crypto-gcm=m
 CONFIG_PACKAGE_kmod-crypto-gf128=m
 CONFIG_PACKAGE_kmod-crypto-ghash=m
-CONFIG_PACKAGE_kmod-crypto-hash=m
+CONFIG_PACKAGE_kmod-crypto-hash=y
 CONFIG_PACKAGE_kmod-crypto-hmac=m
 # CONFIG_PACKAGE_kmod-crypto-hw-hifn-795x is not set
 # CONFIG_PACKAGE_kmod-crypto-hw-padlock is not set
@@ -3704,7 +3704,7 @@ CONFIG_PACKAGE_kmod-asn1-encoder=m
 CONFIG_PACKAGE_kmod-lib-crc-ccitt=y
 # CONFIG_PACKAGE_kmod-lib-crc-itu-t is not set
 CONFIG_PACKAGE_kmod-lib-crc16=m
-CONFIG_PACKAGE_kmod-lib-crc32c=m
+CONFIG_PACKAGE_kmod-lib-crc32c=y
 # CONFIG_PACKAGE_kmod-lib-crc7 is not set
 # CONFIG_PACKAGE_kmod-lib-crc8 is not set
 # CONFIG_PACKAGE_kmod-lib-lz4 is not set
@@ -3798,7 +3798,9 @@ CONFIG_PACKAGE_kmod-nf-conntrack6=y
 CONFIG_PACKAGE_kmod-nf-flow=y
 CONFIG_PACKAGE_kmod-nf-ipt=y
 CONFIG_PACKAGE_kmod-nf-ipt6=y
-# CONFIG_PACKAGE_kmod-nf-ipvs is not set
+CONFIG_PACKAGE_kmod-nf-ipvs=y
+CONFIG_PACKAGE_kmod-nf-ipvs-ftp=y
+CONFIG_PACKAGE_kmod-nf-ipvs-sip=y
 CONFIG_PACKAGE_kmod-nf-log=y
 CONFIG_PACKAGE_kmod-nf-log6=y
 CONFIG_PACKAGE_kmod-nf-nat=y
That's all you need to do, then
make FULL_BUILD=true ramips.mt7621

Anything more is overcomplicating it and probably why the wifi stopped working.
WSL is probably also a contributing factor but it should work.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply