dddmr_navigation icon indicating copy to clipboard operation
dddmr_navigation copied to clipboard

Confusion on how to run dddmr_navigation with gazebo/real robot

Open zheyisoo opened this issue 3 months ago • 33 comments

Hello, I’d like to clarify the steps for running dddmr_navigation with either Gazebo or a real robot (Go2-W and B2-W).

For Gazebo, after launching the simulation environment with:

cd ~/dddmr_navigation/src/dddmr_beginner_guide
./run_x64_gazebo.bash

should I then run p2p_move_base like this?

cd ~/dddmr_navigation
source /opt/ros/humble/setup.bash
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
source install/setup.bash
ros2 launch p2p_move_base p2p_move_base_localization.launch

I have already updated the config to remap:

and able to run the mapping and save the maps.

Could you guide me on the next steps after this? Thanks a lot.

zheyisoo avatar Sep 30 '25 02:09 zheyisoo

  1. If you have the map and want to use it for your go2 navigation
  • you can launch:
ros2 launch p2p_move_base go2_localization.launch
  • And change map dir: https://github.com/dfl-rlab/dddmr_navigation/blob/fa48eb246033409bb1412e20cb7e30b89aca16d7/src/dddmr_p2p_move_base/config/go2_localization.yaml#L47
  • Check
  • When the robot is launched, give a initial pose to it, and then you can send a goal.
  1. The major difference between p2p_move_base_localization.launch and go2_localization.launch is controller parameters such as: https://github.com/dfl-rlab/dddmr_navigation/blob/fa48eb246033409bb1412e20cb7e30b89aca16d7/src/dddmr_p2p_move_base/config/go2_localization.yaml#L187

tsengapola avatar Sep 30 '25 10:09 tsengapola

Hello @tsengapola, thank you very much for the clarification. I’m able to run in Gazebo with a different map and perform localization without any issues.

I’m now testing on the actual robot Go2-W (we will be testing with B2-W soon too), but I’m encountering an elevation issue when climbing stairs during mapping. When performing the mapping while climbing stairs, the elevation seems to be flat. Can I ask what we could be missing? I am running the `ros2 launch lego_loam_bor lego_loam.launch

Also, I’m currently using an XT16 Hesai LiDAR with the following specs:

Beams: 16 Max Range: 120 m Field of View: 360° horizontal, 30° vertical Point Cloud Density: up to 640,000 pts/s Scanning Frequency: 5–20 Hz Angular Resolution: 0.09°–0.36° (horizontal), 2° (vertical) Accuracy: ±1 cm

Would you mind help to confirm if the configuration below looks correct?

odom_type: "laser_odometry" baselink_frame: "base_footprint" num_vertical_scans: 16
num_horizontal_scans: 1000
ground_scan_index: 8
vertical_angle_bottom: -15.0 vertical_angle_top: 15.0 scan_period: 0.1

Thanks again!

zheyisoo avatar Oct 02 '25 10:10 zheyisoo

For the lidar spec: If your current lidar is 10 Hz, the num_horizontal_scans will be 2000 (360/0.18) etc.

I suggest you use wheel_odom as the odom type, since it can catch your z movement, especially your lidar is only 16 lines

odom_type: "wheel_odometry"  (I will correct this term in the future as external_odometry)

Note that you will need odometry from Go2-W being published as default topic: /odom.

Also, you might have to play around with some threshold from source code, if you are trying to climb steep stair: https://github.com/dfl-rlab/dddmr_navigation/blob/0aa178c4d755133980b9b65d6c6c4ad85e439d3e/src/dddmr_lego_loam/lego_loam_bor/src/imageProjection.cpp#L441

tsengapola avatar Oct 03 '25 08:10 tsengapola

Hello @tsengapola,

May I ask what the difference is between selecting wheel_odometry and laser_odometry here? I’ve recently switched to a 32-line Robosense LiDAR and am currently using the /odom topic published directly by the robot. However, I’ve noticed that the odometry data from the robot does not reflect elevation changes — the z-value remains constant even after it reach the second floor.

Could I check if the mapping process expects the odometry’s z-value to increase accordingly when the robot goes up the stairs? We also observed quite a bit of elevation drift in the map after climbing the stairs and continuing mapping. Would you recommend mapping Level 1 first, then mapping the stairs separately and merging them later using the Pose Graph Editor?

Thanks!

zheyisoo avatar Oct 13 '25 09:10 zheyisoo

So lego_loam_bor is based on your odometry to provide the initial guess for the LM optimization step. Therefore, if your wheel odometry is more accurate than laser odometry, then you can choose wheel odometry.

For example, a long corridor or long bushes will cause laser odometry fail, therefore, wheel odometry is a better solution. In your case, you might need to play around with it and changing some parameters to get a good map (I have no answer to it now, we are currently waiting for a robot dog to test).

For example, increase a ground threshold to make a map robust(since the algorithm is estimating z axis based on ground information), the disadvantage will be some wall might being included as ground (so the path planning might touch the wall in navigation phase), say 10 deg to 30 deg: https://github.com/dfl-rlab/dddmr_navigation/blob/0aa178c4d755133980b9b65d6c6c4ad85e439d3e/src/dddmr_lego_loam/lego_loam_bor/src/imageProjection.cpp#L441

You can also use pose graph editor to merge two level map, you just need to make sure enough overlap between two maps so the final result will be fine.

tsengapola avatar Oct 14 '25 06:10 tsengapola

Thanks, @tsengapola! I’m working with both Go2-W and B2-W to test multi-floor autonomous navigation. I’ll post updates here as I go along, and if there’s any data that would be useful for your testing, I’d be glad to help.

zheyisoo avatar Oct 14 '25 06:10 zheyisoo

Thanks, @tsengapola! I’m working with both Go2-W and B2-W to test multi-floor autonomous navigation. I’ll post updates here as I go along, and if there’s any data that would be useful for your testing, I’d be glad to help.

I am also synchronously testing cross floor navigation and mapping, but I am currently unable to create a map of the stairs. May I ask if you have succeeded?

fjc378209410 avatar Oct 15 '25 07:10 fjc378209410

Thanks, @tsengapola! I’m working with both Go2-W and B2-W to test multi-floor autonomous navigation. I’ll post updates here as I go along, and if there’s any data that would be useful for your testing, I’d be glad to help.

I am also synchronously testing cross floor navigation and mapping, but I am currently unable to create a map of the stairs. May I ask if you have succeeded?

hello @fjc378209410 I haven't tested a navigation with multi floor yet. For the mapping, I was able to map with the stairs and one floor, but i do have to go very slow, and i tested it with going down the stairs instead of climbing up the stairs. I am in the process of mapping multi floor by merging two map. I can let you know if I made progress on that.

zheyisoo avatar Oct 15 '25 07:10 zheyisoo

Hello @tsengapola, I'm working on optimizing the trajectory generator for the B2-W robot in narrow environments. I've encountered several navigation issues:

  • The robot struggles to navigate around obstacles in confined spaces. I am wondering whether its possible to move backward in this situation?
  • When approaching the destination, it attempts wide turns instead of rotating in place to achieve the correct heading

I'm exploring whether we can use omni_drive_simple for the robot dog since the robot dog can move in y direction as well (understand that the robot dog cannot move in 45 deg angle like a omni wheel can). I noticed there are launch files available with omni_drive_simple, but when I tested it in Gazebo with the Go2, it stopped at setting goal pose.

Below are the trajecotry generators config that i am using.


trajectory_generators:
  ros__parameters:
    plugins: ["omni_drive_simple", "differential_drive_simple","differential_drive_rotate_inplace", "differential_drive_rotate_shortest_angle"]
    differential_drive_rotate_shortest_angle:
      plugin: "trajectory_generators::DDRotateInplaceTheory"
      controller_frequency: 10.0
      rotation_speed: 0.5
      cuboid:
        flb: [0.42, 0.36, 0.0] #front left buttom
        frb: [0.42, -0.36, 0.0]
        flt: [0.42, 0.36, 0.6] #front left top
        frt: [0.42, -0.36, 0.6]
        blb: [-0.35, 0.36, 0.0] #back left buttom
        brb: [-0.35, -0.36, 0.0]
        blt: [-0.35, 0.36, 0.6]
        brt: [-0.35, -0.36, 0.6]

    differential_drive_rotate_inplace:
      plugin: "trajectory_generators::DDRotateInplaceTheory"
      controller_frequency: 10.0
      rotation_speed: 0.5
      cuboid:
        flb: [0.42, 0.36, 0.0] #front left buttom
        frb: [0.42, -0.36, 0.0]
        flt: [0.42, 0.36, 0.6] #front left top
        frt: [0.42, -0.36, 0.6]
        blb: [-0.35, 0.36, 0.0] #back left buttom
        brb: [-0.35, -0.36, 0.0]
        blt: [-0.35, 0.36, 0.6]
        brt: [-0.35, -0.36, 0.6]
    
    omni_drive_simple:
      plugin: "trajectory_generators::OmniSimpleTrajectoryGeneratorTheory"
      max_vel_x: 1.0
      min_vel_x: -1.0
      max_vel_y: 1.0
      min_vel_y: -1.0
      max_vel_theta: 0.6
      min_vel_theta: 0.15
      min_vel_trans: 0.1
      max_vel_trans: 1.0
      acc_lim_x: 2.0
      acc_lim_y: 2.0
      acc_lim_theta: 3.0
      deceleration_ratio: 2.0
      use_motor_constraint: False
      
      controller_frequency: 10.0
      sim_time: 2.0
      linear_x_sample: 5.0
      linear_y_sample: 5.0
      angular_z_sample: 10.0
      sim_granularity: 0.05
      angular_sim_granularity: 0.025

      cuboid:
        flb: [0.42, 0.36, 0.0] #front left buttom
        frb: [0.42, -0.36, 0.0]
        flt: [0.42, 0.36, 0.6] #front left top
        frt: [0.42, -0.36, 0.6]
        blb: [-0.35, 0.36, 0.0] #back left buttom
        brb: [-0.35, -0.36, 0.0]
        blt: [-0.35, 0.36, 0.6]
        brt: [-0.35, -0.36, 0.6]

Could you provide guidance on this approach please? Thanks!

zheyisoo avatar Oct 15 '25 07:10 zheyisoo

在Let's play go2 using dddmr navigation时 输入cd ~/dddmr_navigation/dddmr_docker/docker_file && ./build.bash后 选择了 x64_gz以后 为什么会有=> ERROR [internal] load metadata for docker.io/library/ubuntu:22.04 60.1s和 => ERROR [internal] load metadata for docker.io/library/ubuntu:22.04 60.1s 错误 ,这是怎么回事,该怎么解决

1w2e34587468 avatar Oct 21 '25 09:10 1w2e34587468

Let's check your docker first. Do you succeed pull docker image ubuntu:22.04?

docker pull ubuntu:22.04

tsengapola avatar Oct 21 '25 10:10 tsengapola

让我们先检查一下你的docker。你成功拉取 docker 镜像 ubuntu:22.04 吗?

docker pull ubuntu:22.04

运行完docker pull ubuntu:22.04 显示这个Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 该怎么办

1w2z3d avatar Oct 21 '25 11:10 1w2z3d

让我们先检查一下你的docker。你成功拉取 docker 镜像 ubuntu:22.04 吗?

docker pull ubuntu:22.04

运行完docker pull ubuntu:22.04显示以下,下面该怎么操作 22.04: Pulling from library/ubuntu Digest: sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3 Status: Image is up to date for ubuntu:22.04 docker.io/library/ubuntu:22.04

1w2z3d avatar Oct 21 '25 11:10 1w2z3d

Ok, good. Now you can try:

 ./build.bash

To see if you can successfully build the image.

BTW, you can run this command, so you dont need to use su to run docker every time you reboot computer:

sudo usermod -aG docker $USER

tsengapola avatar Oct 21 '25 11:10 tsengapola

sudo usermod -aG docker $USER

运行完./build.bash有以下错误,该怎么解决 => ERROR [ 3/39] RUN apt-get update 3.1s ERROR: failed to build: failed to solve: executor failed running [/bin/sh -c apt-get update]: exit code: 100 ----> Starting second layer with gz => ERROR [ 2/12] RUN apt update && apt install -y ros-humble-gazebo-ros2-control 3.0s

ERROR: failed to build: failed to solve: executor failed running [/bin/sh -c apt update && apt install -y ros-humble-gazebo-ros2-control]: exit code: 100

1w2z3d avatar Oct 21 '25 11:10 1w2z3d

I think there is something wrong with your internet. It looks like it is trying to do "apt update" in the building phase. Can you try run:

sudo apt update

Is there any error when you do apt update in your computer?

tsengapola avatar Oct 21 '25 11:10 tsengapola

我认为你的互联网有问题。看起来它正在尝试在构建阶段进行“适当的更新”。你能试试运行吗:

sudo apt update

在计算机中进行 apt 更新时是否出现任何错误? 运行完 sudo apt update显示以下内容 该怎么办呢 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease [129 kB] 忽略:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease
忽略:2 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
忽略:3 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease
忽略:4 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 命中:5 https://packages.microsoft.com/repos/edge stable InRelease 错误:5 https://packages.microsoft.com/repos/edge stable InRelease Splitting up /var/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease into data and signature failed 忽略:2 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease [129 kB] 忽略:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease 忽略:3 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 忽略:4 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 忽略:2 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease [129 kB] 忽略:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease 忽略:3 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 忽略:4 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 错误:2 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” 获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease [129 kB] 错误:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease 写入文件出错 - write (28: 设备上没有空间) [IP: 2402:f000:1:400::2 80] 错误:3 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” 错误:4 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
有 2 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://packages.microsoft.com/repos/edge stable InRelease: Splitting up /var/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease into data and signature failed W: 无法下载 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy/InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” W: 无法下载 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy-updates/InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” W: 无法下载 http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy-backports/InRelease 无法解析域名“cn.mirrors.tuna.tsinghua.edu.cn” W: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy-security/InRelease 写入文件出错 - write (28: 设备上没有空间) [IP: 2402:f000:1:400::2 80] W: 无法下载 https://packages.microsoft.com/repos/edge/dists/stable/InRelease Splitting up /var/lib/apt/lists/packages.microsoft.com_repos_edge_dists_stable_InRelease into data and signature failed W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

1w2z3d avatar Oct 21 '25 11:10 1w2z3d

ok, look like there is a problem in your ubuntu setup or your network, because you can not update your ubuntu normally. Your ubuntu is trying to update from http://cn.mirrors.tuna.tsinghua.edu.cn/ubuntu You might need to change repo repository server:

sudo nano /etc/apt/sources.list

But I dont know the server in your region, you can try to find them on the internet.

tsengapola avatar Oct 21 '25 11:10 tsengapola

好。现在你可以尝试:

 ./build.bash

查看是否可以成功构建映像。

顺便说一句,你可以运行这个命令,这样你就不需要每次重启电脑时都使用 su 来运行 docker:

sudo usermod -aG docker $USER

运行完./build.bash完 有以下问题 怎么解决 => ERROR [ 5/40] RUN apt-get install -y curl gnupg2 lsb-release && apt-get clean all 0.1s => ERROR [internal] load metadata for docker.io/library/dddmr:x64 4.2s ERROR: failed to build: failed to solve: dddmr:x64: failed to resolve source metadata for docker.io/library/dddmr:x64: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

1w2z3d avatar Oct 23 '25 02:10 1w2z3d

Your first docker image is not built successfully. The build.bash will first create dddmr:x64 image and then build dddmr:pytorch2.5.1-cuda12.6-cudnn9-tensorrt10.7 image. Again your error tell you apt-get install -y curl gnupg2 lsb-release && apt-get clean, which means you are not able to pull packages from ubuntu server. You need to resolve ubuntu update issue first. Follow the step and show me the message you see from the terminal:

docker run -it ubuntu:22.04 bash

In the docker container, do:

apt update

What are messages?

tsengapola avatar Oct 23 '25 05:10 tsengapola

您的第一个 docker 映像未成功构建。 build.bash 将首先创建 dddmr:x64 镜像,然后构建 dddmr:pytorch2.5.1-cuda12.6-cudnn9-tensorrt10.7 镜像。再次,您的错误告诉您 apt-get install、-y curl、gnupg2、lsb-release 和 apt-get clean,这意味着您无法从 ubuntu 服务器拉取包。您需要先解决 ubuntu 更新问题。按照步骤作,并向我显示您从终端看到的消息:

docker run -it ubuntu:22.04 bash

在 docker 容器中,执行以下作:

apt update

什么是消息? 运行完docker run -it ubuntu:22.04 bash 显示root@854a56d714b7:/# 在输入运行apt update显示以下,该怎么解决 Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out Err:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Unable to connect to 192.168.14.254:7897: Err:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Unable to connect to 192.168.14.254:7897: Err:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Unable to connect to 192.168.14.254:7897: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Unable to connect to 192.168.14.254:7897: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.

1w2z3d avatar Oct 23 '25 10:10 1w2z3d

@1w2z3d There is a problem in you computer, you need to fix it by changing your network. Can you try to open this page in your browser: http://security.ubuntu.com/ubuntu You should see something like this:

Image

tsengapola avatar Oct 23 '25 10:10 tsengapola

您的计算机有问题,您需要通过更改网络来修复它。您可以尝试在浏览器中打开此页面吗:http://security.ubuntu.com/ubuntu 您应该会看到如下内容:

图像

在浏览器中打开了http://security.ubuntu.com/ubuntu 看到了图片内容

1w2z3d avatar Oct 23 '25 10:10 1w2z3d

您的计算机有问题,您需要通过更改网络来修复它。您可以尝试在浏览器中打开此页面吗:http://security.ubuntu.com/ubuntu 您应该会看到如下内容: 图像

在浏览器中打开了 http://security.ubuntu.com/ubuntu 看到了图片内容

请问下面该怎么操作

1w2z3d avatar Oct 23 '25 11:10 1w2z3d

Then you should succeed to do apt update. I have no idea now. Please try to fix apt update in your computer, (it is not related to the repo). If it shows err when you do apt update. You can not build docker image.

tsengapola avatar Oct 23 '25 12:10 tsengapola

尝试修复您计算机中的 apt update

怎么尝试修复您计算机中的 apt update呢

1w2z3d avatar Oct 23 '25 13:10 1w2z3d

那么你应该成功地做了 apt 更新。我现在不知道了。请尝试修复您计算机中的 apt update(它与存储库无关)。如果您在执行 apt 更新时显示错误。您无法构建 docker 镜像。

运行了sudo apt update 显示以下 命中:1 https://download.docker.com/linux/ubuntu jammy InRelease
命中:3 https://packages.microsoft.com/repos/edge stable InRelease
命中:4 http://packages.ros.org/ros2/ubuntu jammy InRelease
命中:5 https://packages.microsoft.com/repos/code stable InRelease
命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
命中:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 命中:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 命中:8 http://security.ubuntu.com/ubuntu jammy-security InRelease 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
有 4 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。

重新构建镜像还是ERROR [ 5/40] RUN apt-get install -y curl gnupg lsb-release && apt-get clean all 0.1s和ERROR [internal] load metadata for docker.io/library/dddmr:x64 3.5s

1w2z3d avatar Oct 23 '25 13:10 1w2z3d

ok, good let;s do it one by one to test:

docker run -it ubuntu:22.04 bash

in the container run

echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
apt-get update
apt-get install -y apt-utils && apt-get install -y curl gnupg2 && apt-get install -y lsb-release && apt-get clean all

Does any error show up?

tsengapola avatar Oct 23 '25 13:10 tsengapola

apt-get install -y apt-utils && apt-get install -y curl gnupg2 && apt-get install -y lsb-release && apt-get clean all

显示以下,该怎么解决呢 root@952c10537d16:/# apt-get update Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Unable to connect to 192.168.14.254:7897: Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Unable to connect to 192.168.14.254:7897: Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Unable to connect to 192.168.14.254:7897: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Unable to connect to 192.168.14.254:7897: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Could not connect to 192.168.14.254:7897 (192.168.14.254), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.

1w2z3d avatar Oct 24 '25 01:10 1w2z3d

There is DNS issue in your computer, you need to fix it to build the image. Alternatively, pull the docker image from our repo:

docker pull tsengapola/dddmr:x64
docker pull tsengapola/dddmr_gz:x64

And then retag them:

docker tag tsengapola/dddmr:x64 dddmr:x64
docker tag tsengapola/dddmr_gz:x64 dddmr_gz:x64

tsengapola avatar Oct 24 '25 06:10 tsengapola