ros2 jazzy docker環境安裝

black_man發表於2024-07-03

docker hub限制國內訪問了,需要配置下,參考:https://github.com/cmliu/CF-Workers-docker.io/issues/8

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<EOF
{
    "registry-mirrors": [
        "https://hub.uuuadc.top",
        "https://docker.anyhub.us.kg",
        "https://dockerhub.jobcher.com",
        "https://dockerhub.icu",
        "https://docker.ckyl.me",
        "https://docker.awsl9527.cn"
    ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

ros2的發版資訊:https://docs.ros.org/en/rolling/Releases.html#

配置vscode + docker環境:https://docs.ros.org/en/rolling/How-To-Guides/Setup-ROS-2-with-VSCode-and-Docker-Container.html

ps: ros 2 的簡單docker環境驗證:https://docs.ros.org/en/jazzy/How-To-Guides/Run-2-nodes-in-single-or-separate-docker-containers.html

相關文章