Skip to content

如何使用Docker #2

@CmST0us

Description

@CmST0us

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了

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions