yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Transbot SE📖
01.Introduction to Transbot SE
  • 01. Introduction to Transbot SE
  • 02. Precautions for use and battery safety
  • 03. First Trial
02.First Trial
  • 2.1.APP control
  • 2.2.USB wireless handle control(Optional)
  • 2.3.Handle video control Transbot(Optional)
  • 2.4.Network configuration tutorial in hotspot mode
03.Hardware control course
  • 3.1About expansion board and update firmware
  • 3.2.Close self-starting process
  • 3.3.Install Transbot library
  • 3.4.Control buzzer and button
  • 3.5.Control PWM servo
  • 3.6.Control bus servo
  • 3.7.Control motor
  • 3.8.Control robot movement
04.Linux operating system
  • 1. Virtual machine installation and use
  • 2. Linux basics
  • 3. Remote control
  • 4. Multi-machine communication configuration
  • 5. Static IP and hotspot mode
  • 6. Web page real-time monitoring
  • 7. Expansion tutorial
  • 8. Write system images
05.Docker couse(For Pi5)
  • 1.Docker overview and docker installation
  • 2.Common commands for docker image containers
  • 3.Docker images deeply understand and publish images
  • 4.Docker hardware interaction and data processing
  • 5.Start the transbot se container
06.ROS basic course
  • 1.ROS introduction
  • 2.Project file structure
  • 3.Common commands and tools
  • 4.Publisher
  • 5.Subscribers
  • 6.Customize topic messages and use
  • 7.Client
  • 8.Server
  • 9.Custom service messages and usage
  • 10.TF release and monitoring
07.OpenCV courses
  • 1. Getting started with Open Source CV
  • 2. Open Source CV geometric transformation
  • 3. Open Source CV image processing and drawing text line segments
  • 4. Open Source CV image beautification
  • 5. Opencv application
  • 6. AR vision
  • 7. AR QR code
  • 8. ROS+Opencv foundation
  • 9. ROS+Opencv application
  • 10. MediaPipe development
08.ROS robot course
  • 1.PID algorithm
  • 2.Basic communication
  • 3.Keyboard control
  • 4.Handle control(Optional)
  • 5.Robot state estimation
  • 6.Data calibration
09.ROS simple camera course
  • 1.HD camera calibration
  • 2.HD camera color tracking
  • 3.HD camera color tracking (robotic arm)
  • 4.HD camera object tracking
  • 5. KCF target tracking
  • 6.HD camera face tracking
  • 7.HD camera robotic arm carrying
  • 8.HD camera Autopilot
10.ROS robotic arm control tutorial
  • 1.MoveIt configuration
  • 2.MoveIt control the real machine
  • 3.MoveIt moves randomly
  • 4.MoveIt kinematics design
  • 5.MoveIt cartesian path
  • 6.MoveIt avoiding
  • 7.MoveIt scene design
  • 8.MoveIt trajectory planning
  • 9.Mediapipe palm control car
  • 10.Mediapipe gesture control robotic arm
  • 11.Mediapipe gesture control car
  • 12.Mediapipe arm attitude control robotic arm
11.ROS multi-robot control(Optional)
  • 1. Multi-robot control(Optional)
  • 2. Multi-robot queue performance(Optional)
  • 3. Multi-robot robot arm dancing(Optional)
12.Deep learning courses
  • 1.KNN recognizes handwritten digits
  • 2.Basic use of TensorFlow
  • 3.Basic use of PyTorch(jetson)
  • 4.yolov5 model training(jetson)
  • 5.yolov5+tensorrt acceleration(jetson)
  • 6.yolov4-tiny
13.Installation Video
  • Part18
  • Part1-6
  • Part7-12
  • Part13.1-13.3.3
  • Part13.4.1-17
14.FAQnew
  • 1.Using your own Jetson board,Transbot-SE cannot start normally
Download
  • APP(iOS/Android)
  • System_File-Pi5
  • System_File-Pi4
  • System_File-Jetson
  • VM_File
  • Appendix
  • Code
  • InstructionManual
  • Jetson_Boot_USB.tar.gz
  • Hardware_Info
Download ZIP

Welcome to Transbot SE repository

1.Docker overview and docker installation

1、Docker overview and docker installation

At present, ROS2's courses are all placed in Docker containers, and customers can experience learning to use containerized development methods.

Raspberry Pi PI5Master Control’s ROS1 courses are all in docker containers.

1、Docker overview and docker installation1.1、Docker overview1.1.1、why docker appears1.1.2、Docker's core idea1.1.3、Compare virtual machines to Docker1.1.4、docker architecture1.1.5、Docker core objects1.1.6、images, containers, repositories1.1.7、Docker operation mechanism1.2、docker installation

Docker Chinese website: https://www.docker-cn.com

Docker Hub (repository) official website: https://hub.docker.com

The operating environment and software and hardware reference configurations are as follows:

  • REFERENCE MODEL: ROSMASTER X3

  • Robot hardware configuration: Arm series main control, Silan A1 lidar, AstraPro Plus depth camera

  • Robot system: Ubuntu (version not required) + docker (version 20.10.21 and above)

  • PC Virtual Machine: Ubuntu (20.04) + ROS2 (Foxy)

  • Usage scenario: Use on a relatively clean 2D plane

1.1、Docker overview

Docker is an application container engine project, developed based on the Go language and open source.

 

1.1.1、why docker appears

Let's start with a few scenarios:

  1. O&M deploys the project you developed to the server, telling you that there is a problem and cannot be started. You ran around locally and found that there was no problem...

  2. The project to be launched is unavailable due to the update of some software versions...

  3. There are a lot of environmental content involved in the project, various middleware, various configurations, and the deployment of multiple servers...

These problems can actually be summed up in relation to the environment. To avoid various problems caused by different environments, it is best to deploy the project together with the various environments required by the project. For example, the project involves environments such as REDIS, MYSQL, JDK, ES, etc., and the entire environment is brought with you when deploying the JAR package. So the question is, how can you bring the project with the environment?

Docker is here to solve this problem!

1.1.2、Docker's core idea

 

image-20230424111123951

This is the logo of Docker, a whale full of containers, on the back of the whale, the containers are isolated from each other, which is the core idea of Docker. For example, if there were multiple applications running on the same server before, there may be port occupation conflicts of software, but now they can run alone after isolation. In addition, Docker can maximize the power of the server.

1.1.3、Compare virtual machines to Docker

 

  • The docker daemon can communicate directly with the main operating system to allocate resources to individual docker containers; It can also isolate containers from the main operating system and isolate individual containers from each other. Virtual machines take minutes to start, while docker containers can start in milliseconds. Since there is no bloated from the operating system, Docker can save a lot of disk space as well as other system resources.

  • Virtual machines are better at completely isolating the entire operating environment. For example, cloud service providers often use virtual machine technology to isolate different users. Docker is often used to isolate different applications, such as front-end, back-end, and database.

  • Docker containers are more resource-efficient and faster (start, shut down, create, delete) than virtual machines

1.1.4、docker architecture

Docker uses a client-server architecture. The Docker client communicates with the Docker daemon, which is responsible for building, running, and distributing the Docker container. The Docker client and daemon can run on the same system, or you can connect a Docker client to a remote Docker daemon. The docker client and daemon communicate using REST APIs over UNIX sockets or network interfaces. Another Docker client is Docker Compose, which lets you work with applications that consist of a set of containers.

30f24e4195234f58afbe43525dd57504

 

  • docker client is a docker command that is used directly after installing docker.

  • Docker host is our docker host (i.e. the operating system on which docker is installed)

  • Docker Daemon is Docker's background daemon that listens for and processes Docker client commands and manages Docker objects such as images, containers, networks, and volumes.

  • registry is a remote repository where docker pulls images, providing a large number of images for download, and saving them in images (local image repository) after downloading.

  • Images is a local image repository of docker, and image files can be viewed through docker images.

1.1.5、Docker core objects

 

1.1.6、images, containers, repositories

Image:

A docker image is a read-only template. Images can be used to create docker containers, and one image can create many containers. Just like classes and objects in Java, classes are images and containers are objects.

Container:

xxxxxxxxxx
Docker uses containers to run independently of an application or set of applications. A container is a running instance created from an image. It can be started, started, stopped, removed. Each container is an isolated platform for security. Think of a container as a simple version of the Linux environment (including root privileges, process space, user space, network space, etc.) and the applications running in it. The definition of a container is almost identical to an image, and it is also a unified view of a bunch of layers, the only difference is that the top layer of the container is readable and writable.

Repository:

xxxxxxxxxx
A repository is a place where image files are stored centrally. Repositories are divided into two forms: public repositories and private repositories.
The largest public repository is Docker Hub (https://hub.docker.com/), which houses a huge number of images for users to download. Domestic public warehouses include Alibaba Cloud, NetEase Cloud, etc.

You need to correctly understand the concepts of warehousing/image/container:

  • Docker itself is a container runtime carrier, or management engine. We package the application and configuration dependencies to form a shippable runtime environment, and this packaged runtime environment is like an image image file. Only this image file can generate a docker container. An image file can be thought of as a template for a container. Docker generates an instance of the container from the image file. The same image file allows you to generate multiple container instances running at the same time.

  • The container instance generated by the image file is itself a file, called an image file.

  • A container runs a service, and when we need it, we can create a corresponding running instance through the docker client, which is our container.

  • As for the repository, it is a place where a bunch of images are placed, we can publish the images to the repository, and pull them from the repository when needed.

1.1.7、Docker operation mechanism

Docker pull execution process:

  1. The client sends instructions to Docker Daemon

  2. Docker Daemon first check whether there are relevant images in the local images

  3. If there is no relevant image locally, request the mirror server to download the remote mirror to the local computer

docker run execution process:

  1. Check whether the specified image exists locally and download it from the public repository

  2. Create and start a container from the image

  3. Assign a file system (lite Linux system) and mount a read-write layer outside the read-only image layer

  4. Bridge a virtual interface from the bridge interface configured by the host to the container

  5. Configure an IP address from the address pool to the container

  6. Execute the application specified by the user

1.2、docker installation

  1. Official website installation reference manual: https://docs.docker.com/engine/install/ubuntu/

  2. You can use the following commands to install with one click:

xxxxxxxxxx
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
  1. Check the docker version

xxxxxxxxxx
sudo docker version

image-20230424113920974

  1. Test the command

xxxxxxxxxx
sudo docker run hello-world

The following output indicates that the Docker installation was successful

image-20230424113848585

Write system images
Common commands for docker image containers

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文