0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

RK356X Debian/Ubuntu系統(tǒng)安裝Docker技術(shù)分享

sXx1_industio ? 來源:深圳觸覺智能 ? 2023-06-30 17:49 ? 次閱讀

本文基于IDO-SBC3528主板演示Debian/Ubuntu 系統(tǒng)任何安裝Docker,方法適用于RK3568全系列產(chǎn)品

IDO-SBC3528-V1采用RK3568四核64位開發(fā)的智能主板,可作為RK3568開發(fā)評(píng)估板,支持8G大內(nèi)存;支持PCIE2.0接口,可擴(kuò)展大容量固態(tài)硬盤;支持雙千兆以太網(wǎng)口;支持雙頻WiFi、藍(lán)牙4.2以上,可擴(kuò)展4G/5G網(wǎng)絡(luò)通訊功能;具有豐富的視頻輸出接口(HDMI2.0/eDP1.3/MIPI1.2/LVDS) ;工業(yè)互聯(lián)接口(RS232/RS485、CAN)。

支持Android11/Debian10/Ubuntu20/Buildroot/麒麟OS/開源鴻蒙等多種操作系統(tǒng)

內(nèi)核配置

使用check_config.sh腳本檢查當(dāng)前內(nèi)核配置是否適配Docker

# ./check_config.sh ./kernel/.config
info: reading kernel config from ./kernel/.config ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- apparmor: enabled and tools installed
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: missing
- CONFIG_KEYS: enabled
- CONFIG_VETH: missing
- CONFIG_BRIDGE: missing
- CONFIG_BRIDGE_NETFILTER: missing
- CONFIG_IP_NF_FILTER: missing
- CONFIG_IP_NF_TARGET_MASQUERADE: missing
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: missing
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: missing
- CONFIG_NETFILTER_XT_MATCH_IPVS: missing
- CONFIG_IP_NF_NAT: missing
- CONFIG_NF_NAT: missing
- CONFIG_POSIX_MQUEUE: missing

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_SECCOMP_FILTER: enabled
- CONFIG_CGROUP_PIDS: missing
- CONFIG_MEMCG_SWAP: missing
- CONFIG_MEMCG_SWAP_ENABLED: missing
- CONFIG_BLK_CGROUP: missing
- CONFIG_BLK_DEV_THROTTLING: missing
- CONFIG_CGROUP_PERF: missing
- CONFIG_CGROUP_HUGETLB: missing
- CONFIG_NET_CLS_CGROUP: missing
- CONFIG_CGROUP_NET_PRIO: missing
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: missing
- CONFIG_IP_NF_TARGET_REDIRECT: missing
- CONFIG_IP_VS: missing
- CONFIG_IP_VS_NFCT: missing
- CONFIG_IP_VS_PROTO_TCP: missing
- CONFIG_IP_VS_PROTO_UDP: missing
- CONFIG_IP_VS_RR: missing
- CONFIG_SECURITY_SELINUX: missing
- CONFIG_SECURITY_APPARMOR: missing

./kernel/.config為當(dāng)前內(nèi)核的配置

提示"missing"的選項(xiàng),需要到kernel目錄進(jìn)行make menuconfig加上,直到執(zhí)行check_config.sh不再報(bào)missing項(xiàng)

內(nèi)核配置完成后,需重新編譯kernel并更新boot分區(qū):

#./build.sh kernel
安裝Docker

主板上執(zhí)行以下命令安裝Docker:

linaro@linaro-alip:~$ sudo apt-getupdate
linaro@linaro-alip:~$ curl -sSL https://get.docker.com/ | sudo sh

安裝過程需要花費(fèi)大約10分鐘

安裝完成后查看Docker版本:

linaro@linaro-alip:~$ docker -v
Docker version 24.0.2, build cb74dfc
linaro@linaro-alip:~$
驗(yàn)證
linaro@linaro-alip:~$ sudo docker run hello-world
Unable tofindimage 'hello-world:latest'locally
latest:Pulling from library/hello-world
70f5ac315c5a:Pull complete
Digest:sha256:a13ec89cdf897b3e551bd9f89d499db6ff3a7f44c5b9eb8bca40da20eb4ea1fa
Status:Downloaded newer image forhello-world:latest
[ 1228.015617] docker0: port 1(veth9b45dd3) entered blocking state
[ 1228.015735] docker0: port 1(veth9b45dd3) entered disabled state
[ 1228.017169] device veth9b45dd3 entered promiscuous mode
[ 1228.027619] IPv6: ADDRCONF(NETDEV_UP): veth9b45dd3: link isnot ready
[ 1228.343879] cgroup: cgroup: disabling cgroup2 socket matching due tonet_prio ornet_cls activation
[ 1228.596774] eth0: renamed from vethc46e61e
[ 1228.611961] IPv6: ADDRCONF(NETDEV_CHANGE): veth9b45dd3: link becomes ready
[ 1228.612131] docker0: port 1(veth9b45dd3) entered blocking state
[ 1228.612147] docker0: port 1(veth9b45dd3) entered forwarding state
[ 1228.612346] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready

Hello from Docker!
This message shows that your installation appears tobeworking correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world"image from the Docker Hub.
(arm64v8)
3. The Docker daemon created anewcontainer from that image which runs the
executablethat produces the output you are currently reading.
4. The Docker daemon streamed that output tothe Docker client, which sent it
toyour terminal.

To trysomething more ambitious, you can run anUbuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, andmore with afree Docker ID:
https://hub.docker.com/

For more examples andideas, visit:
https://docs.docker.com/get-starte

提示"Hello from Docker!"說明Docker驗(yàn)證通過。






審核編輯:劉清

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點(diǎn)僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場(chǎng)。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請(qǐng)聯(lián)系本站處理。 舉報(bào)投訴
  • 以太網(wǎng)
    +關(guān)注

    關(guān)注

    40

    文章

    5425

    瀏覽量

    171730
  • RS232接口
    +關(guān)注

    關(guān)注

    0

    文章

    85

    瀏覽量

    20548
  • Ubuntu系統(tǒng)
    +關(guān)注

    關(guān)注

    0

    文章

    91

    瀏覽量

    3942
  • RK3568
    +關(guān)注

    關(guān)注

    4

    文章

    514

    瀏覽量

    5053

原文標(biāo)題:【技術(shù)分享】RK356X Debian/Ubuntu 系統(tǒng)安裝Docker

文章出處:【微信號(hào):industio,微信公眾號(hào):深圳觸覺智能】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。

收藏 人收藏

    評(píng)論

    相關(guān)推薦

    瑞芯微RK3568:Debian系統(tǒng)如何安裝Docker

    本文基于HD-RK3568-IOT評(píng)估板演示Debian系統(tǒng)安裝Docker,該方法適用于RK356X
    的頭像 發(fā)表于 09-18 17:26 ?1387次閱讀
    瑞芯微<b class='flag-5'>RK</b>3568:<b class='flag-5'>Debian</b><b class='flag-5'>系統(tǒng)</b>如何<b class='flag-5'>安裝</b><b class='flag-5'>Docker</b>

    RK356X NPU測(cè)試DEMO的過程是怎樣的?

    RK356X NPU測(cè)試DEMO的過程是怎樣的?
    發(fā)表于 03-02 06:44

    請(qǐng)問RK356X And??roid11.0如何獲取ROOT權(quán)限?

    RK356X和android11.0如何獲取ROOT權(quán)限?
    發(fā)表于 03-02 08:37

    請(qǐng)問如何解決RK356X Android 11 內(nèi)核編譯錯(cuò)誤的問題?

    請(qǐng)問如何解決RK356X Android 11 內(nèi)核編譯錯(cuò)誤的問題?
    發(fā)表于 03-02 09:07

    RK356X Android11.0 SDK正常編譯后,其他Android版本SDK會(huì)報(bào)JACK錯(cuò)誤怎么解決?

    RK356X Android11.0 SDK正常編譯后,其他Android版本SDK會(huì)報(bào)JACK錯(cuò)誤怎么解決?
    發(fā)表于 03-02 07:43

    RK356x平臺(tái)Kerne與U-Boot源代碼獲取方式分享

    1、帶你獲取了解與編譯Kernel源代碼RK356x 平臺(tái) Kernel 源代碼獲取的方式有兩種,第一是直接下載 Firefly 官方 SDK 并同步即自動(dòng)生成 Kernel目錄,第二是在代碼托管
    發(fā)表于 04-06 16:23

    RK3399與RK356x USB開發(fā)指南

    設(shè)計(jì)修改對(duì)應(yīng)的板級(jí) DTS 配置,就可以使能相應(yīng)的 USB 接口。 RK356x USB 開發(fā)指南提供 RK356x USB 模塊的開發(fā)指南,目的是讓工程師理解 RK356x USB 控制器和 USB PHY 的硬件設(shè)計(jì)和軟件驅(qū)
    發(fā)表于 06-16 15:49

    每周精選 | RT-thread移植教程,RK3399與RK356x USB開發(fā)指南

    設(shè)備設(shè)計(jì)。4、RK3399與RK356x USB開發(fā)指南推薦理由:RK356x USB 開發(fā)指南提供 RK356x USB 模塊的開發(fā)指南,目的是讓工程師理解
    發(fā)表于 06-17 10:32

    RK356x Linux PCle 開發(fā)指南

    RK356X Linux PCIe 開發(fā)指南芯片資源介紹 DTS 配置menuconfig 配置 常見應(yīng)用問題 芯片互聯(lián)功能 異常排查 芯片資源介紹RK3566資源模式支持芯片互聯(lián)支持lane拆分
    發(fā)表于 06-22 15:04

    ITX 3588J源代碼RK356X/RK3588 RKNN SDK

    電子發(fā)燒友網(wǎng)站提供《ITX 3588J源代碼RK356X/RK3588 RKNN SDK.txt》資料免費(fèi)下載
    發(fā)表于 09-21 15:32 ?20次下載
    ITX 3588J源代碼<b class='flag-5'>RK356X</b>/<b class='flag-5'>RK</b>3588 RKNN SDK

    ROC RK3588S PC源代碼RK356X/RK3588 RKNN SDK

    電子發(fā)燒友網(wǎng)站提供《ROC RK3588S PC源代碼RK356X/RK3588 RKNN SDK.txt》資料免費(fèi)下載
    發(fā)表于 09-20 17:45 ?40次下載
    ROC <b class='flag-5'>RK</b>3588S PC源代碼<b class='flag-5'>RK356X</b>/<b class='flag-5'>RK</b>3588 RKNN SDK

    ROC RK3566 PC源代碼RK356X/RK3588 RKNN SDK

    電子發(fā)燒友網(wǎng)站提供《ROC RK3566 PC源代碼RK356X/RK3588 RKNN SDK.txt》資料免費(fèi)下載
    發(fā)表于 09-21 14:57 ?8次下載
    ROC <b class='flag-5'>RK</b>3566 PC源代碼<b class='flag-5'>RK356X</b>/<b class='flag-5'>RK</b>3588 RKNN SDK

    AIO 3568J源代碼RK356X/RK3588 RKNN SDK

    電子發(fā)燒友網(wǎng)站提供《AIO 3568J源代碼RK356X/RK3588 RKNN SDK.txt》資料免費(fèi)下載
    發(fā)表于 09-21 11:00 ?6次下載
    AIO 3568J源代碼<b class='flag-5'>RK356X</b>/<b class='flag-5'>RK</b>3588 RKNN SDK

    RK356X Debian/Ubuntu 系統(tǒng)安裝Docker

    本文基于IDO-SBC3528主板演示Debian/Ubuntu 系統(tǒng)任何安裝Docker,方法適用于R
    的頭像 發(fā)表于 06-30 14:56 ?913次閱讀
    <b class='flag-5'>RK356X</b> <b class='flag-5'>Debian</b>/<b class='flag-5'>Ubuntu</b> <b class='flag-5'>系統(tǒng)</b><b class='flag-5'>安裝</b><b class='flag-5'>Docker</b>

    RK356X Debian/Ubuntu 系統(tǒng)安裝Docker

    本文基于IDO-SBC3528主板演示Debian/Ubuntu系統(tǒng)任何安裝Docker,方法適用于RK
    的頭像 發(fā)表于 08-04 08:40 ?1409次閱讀
    <b class='flag-5'>RK356X</b> <b class='flag-5'>Debian</b>/<b class='flag-5'>Ubuntu</b> <b class='flag-5'>系統(tǒng)</b><b class='flag-5'>安裝</b><b class='flag-5'>Docker</b>