编译 openwrt固件 内核添加 甜糖等的docker binfmt 支持

# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes 在某些使用场景如跨平台运行 docker 镜像的时候,会提示不支持No binfmt support in the kernel. Try: '/sbin/modprobe binfmt_misc' from the host 只需要在编译 openwrt 时打开内核对 binfmt 的支持就可以的$ make kernel_menuconfig 找到 Executable file formats,然后勾选上 Kernel support for MISC binaries,再编译固件即可。

Debian Jd Dockerの全自动签到薅羊毛教程

虚拟机安装Debian 10x64版本Debian安装时注意选择组件ssh和standard配置,其他可以不用装控制台登陆root查看Debian获取的IP地址 ip assh工具 登陆Debiansu rootapt updateapt install sudoapt install curlnano /etc/sudoers在root下面增加一条,把你的用户增加为管理root ALL=(ALL:ALL) ALL你的用户名 ALL=(ALL:ALL) ALL查看docker用户组,增加你的用户到docker组,以免后面权限出错cat /etc/group|grep dockersudo usermod -aG docker 你的用户名重新登陆ssh,查看groups是否正常groups从root切换回你的用户su 用户名一键安装脚本wget -q https://gitee.com/shuye72/MyActions/raw/main/docker/jd-base.sh -O jd-base.sh && chmod +x jd-base.sh && ./jd-bas...