How to Install Docker for 2.45

How to Install Docker for 2.45

Note: This method is applicable to EG series/RobustOS Pro devices.

Install curl and get Docker GPG key

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

Add Docker Repository to Apt Sources

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Install docker and fuse

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt-get install fuse-overlayfs

Docker Daemon Configuration

Add the following to /etc/docker/daemon.json:

{ 
    "storage-driver": "fuse-overlayfs" 
}

Restart Docker

sudo systemctl restart docker
Note:
  1. These commands update the package lists, install necessary certificates and curl
  2. The Docker GPG key is downloaded and stored in the appropriate location
  3. Permissions are set to make the GPG key readable by all users
  4. The repository uses the Tsinghua University mirror for Docker CE
  5. FUSE-OverlayFS is used as the storage driver
  6. Remember to restart Docker after configuration changes
    • Related Articles

    • How to Configure Docker Containers(With BLE dependency) to Run at Boot

      Problem Identified BLE (Bluetooth Low Energy) initialization wasn't completing properly before containers needed access to the BLE device Docker Compose service wasn't properly configured to start at system boot Container startup timing was causing ...
    • Is Docker installed on my device by default?

      A: No, but it will be automatically installed when the Container Monitoring App is installed. You don't need to install it manually.
    • Can I use a private Docker image registry?

      A: Yes, RCMS Docker Manager supports adding both public Docker Hub and your private Docker image repositories, facilitating the management and deployment of internally developed applications.
    • How to Install Grafana on Debian 11

      To install Grafana on Debian 11, follow the steps below. Grafana provides its own APT repository for Debian-based distributions, which ensures you get the latest version. This guide will show you how to install Grafana from the official repository. ...
    • How to Install an App(ROS System)

      Oveview This document provides step-by-step instructions for installing applications on your Robustel gateway through the App Center interface. The App Center allows you to extend device functionality by installing additional applications for ...