Setup Docker on Rock Pi 4
In this article, You can learn ” Setup Docker on Rock Pi 4 “. Here are the steps of installing docker in ROCK Pi 4 Ubuntu server.
What is ROCK Pi 4
ROCK Pi 4 is a Rockchip RK3399 based SBC(Single Board Computer) by Radxa. It can run android or some Linux distributions. ROCK Pi 4 features a six core ARM processor, 64bit dual channel 3200Mb/s LPDDR4, up to 4K@60 HDMI, MIPI DSI, MIPI CSI, 3.5mm jack with mic, 802.11 ac WIFI, Bluetooth 5.0, USB Port, GbE LAN, 40-pin color expansion header, RTC. Also, ROCK Pi 4 supports USB PD and QC powering.
ROCK Pi 4 comes in two models, Model A and Model B, each model has 1GB, 2GB or 4GB ram options. for detailed difference of Model A and Model B. This is best alternative of Raspberry Pi.
Read more: ROCK Pi 4 : Overview | Installation
Setup Docker on Rock Pi 4
Step 1 – Installation
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \ "deb [arch=arm64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo apt-cache madison docker-ce
sudo apt-get install docker-ce=18.06.3~ce~3-0~ubuntu
Step 2 – Check docker service status
sudo service docker status
And it shows this.
● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2019-03-23 19:35:31 CST; 2min 40s ago Docs: https://docs.docker.com Main PID: 3625 (dockerd) Tasks: 33 CGroup: /system.slice/docker.service ├─3625 /usr/bin/dockerd -H fd:// └─3647 docker-containerd --config /var/run/docker/containerd/containerd.toml Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.088391507+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.088708845+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0x4420174e80, CONNECTING" module=grp Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.091399506+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0x4420174e80, READY" module=grpc Mar 23 19:35:29 linux dockerd[3625]: time="2019-03-23T19:35:29.091755635+08:00" level=info msg="Loading containers: start." Mar 23 19:35:30 linux dockerd[3625]: time="2019-03-23T19:35:30.349854055+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon opt Mar 23 19:35:30 linux dockerd[3625]: time="2019-03-23T19:35:30.963182059+08:00" level=info msg="Loading containers: done." Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.081056747+08:00" level=info msg="Docker daemon" commit=d7080c1 graphdriver(s)=overlay2 version=18.06.3-ce Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.082035301+08:00" level=info msg="Daemon has completed initialization" Mar 23 19:35:31 linux dockerd[3625]: time="2019-03-23T19:35:31.147043288+08:00" level=info msg="API listen on /var/run/docker.sock" Mar 23 19:35:31 linux systemd[1]: Started Docker Application Container Engine.
Step 3 – Test
sudo docker run hello-world
I hope you like this post. Do you have any questions? Leave a comment down below!
Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.
Explore Some more Raspberry Pi Tutorials :
- Raspberry Pi – Introduction | Overview | Setup and Management | Tutorials
- piCore (Tiny Core) Linux on Raspberry Pi
- Setup Docker on Raspberry Pi
- Create a Docker Container for Raspberry Pi to Blink an LED
- Raspberry Pi Alternatives in 2019
- How to Install Mosquitto Broker on Raspberry Pi
- Setting up SPI on Raspberry Pi
- Getting Started with The Sense HAT – Raspberry Pi
- Raspberry Pi GPIO Basics
- Controlling LED with Raspberry Pi PART-2
- How To Setup Static IP Address on Raspberry Pi
- Controlling LED with Raspberry Pi
- Interfacing a light Sensor (LDR) with Raspberry Pi
- Remote control your Raspberry Pi from your PC with VNC!
- How To Use Raspberry pi in a truely headless mode
- ROCK Pi 4 : Overview | Installation
- Best OS for Raspberry Pi
- How to setup Bluetooth on a Raspberry Pi 3
- Simple Raspberry Pi Home Security System
- Raspbian – OS For Raspberry Pi
- Setting up a Raspberry Pi headless
Buy now : Raspberry PI 3 Model B+ Motherboard
Pingback: Setup Docker on Rock Pi 4 — IoTbyHVM – Bits & Bytes of IoT – hashstacks
Pingback: Docker Hub - The world’s leading container content library and ecosystem
Pingback: Docker Hub – The world’s leading container content library and ecosystem - CoolDigiBytes