Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用Docker #2

Open
CmST0us opened this issue Sep 28, 2024 · 0 comments
Open

如何使用Docker #2

CmST0us opened this issue Sep 28, 2024 · 0 comments
Labels

Comments

@CmST0us
Copy link
Owner

CmST0us commented Sep 28, 2024

SDK 编译

启动Docker所需的内核依赖已经包含在配置文件中,直接选择 tspi-rk3566-ubuntu_defconfig 编译sdk即可

./build.sh

Ubuntu系统配置

参考这个链接安装Docker
https://docs.docker.com/engine/install/ubuntu/

完成docker 安装后,此时启动 docker 应该会提示失败

修改iptables

使用下面的脚本修改iptables

sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

此时就可以正确的启动docker了

@CmST0us CmST0us added the 教程 label Sep 28, 2024
@CmST0us CmST0us pinned this issue Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant