moveit2_tutorials icon indicating copy to clipboard operation
moveit2_tutorials copied to clipboard

Unauthorized from pulling Docker rolling-tutorial image from ghcr.io (GitHub container registry)

Open ukicomputers opened this issue 7 months ago • 4 comments

Description

Hi! This is my first time to try MoveIt 2 for myself! As now, I use Docker for almost anything, because it keeps dependencies and software clean, working and OK like ROS 2. I started with tutorial on How to Set Up MoveIt 2 Docker Containers in Ubuntu. I got the Docker Compose script, executed command docker compose run ..., and Docker started pulling from ghcr.io (GitHub container registry). After few seconds, I got error: Head unauthorized (please see console output). Did anyone encountered this problem, or it is just me? Thanks!

Your environment

  • ROS Distro: Rolling (but also, I tried with Jazzy, and it is not working)
  • OS Version: Ubuntu 24.04 (codename noble)
  • Using moveit2_container with image rolling-tutorial binary build from ghcr.io (Docker compose script)
  • Rolling

Steps to reproduce

wget https://raw.githubusercontent.com/ros-planning/moveit2_tutorials/main/.docker/docker-compose.yml
DOCKER_IMAGE=rolling-tutorial docker compose run --rm --name moveit2_container cpu

Expected behaviour

While pulling image, I got Error response from daemon: Head unauthorized (see console output).

Backtrace or Console output

When running docker compose run (see steps to reproduce):

[+] Running 1/1
 ✘ cpu Error Head "https://ghcr.io/v2/moveit/moveit2_tutorials/manifests/rolling-tutorial": unauthorized                                      1.8s 
Error response from daemon: Head "https://ghcr.io/v2/moveit/moveit2_tutorials/manifests/rolling-tutorial": unauthorized

ukicomputers avatar Jul 03 '24 10:07 ukicomputers