maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
803 stars 233 forks source link

pull access denied for esp-sdk #427

Closed renandw closed 2 years ago

renandw commented 2 years ago

Hello everybody. This last week I had a problem with my MacBook and needed to reinstall the macOS Catalina. And then, when following the build instructions in this repository, I've reached this error. I've tried very different approaches but it keeps saying that the access to the resource is denied. Even when I logged in seconds before.

MacBook-Pro-de-Renan:new renanwrobel$ docker login
Authenticating with existing credentials...
Login Succeeded
MacBook-Pro-de-Renan:new renanwrobel$ docker build . -f esp-rtos-dockerfile -t esp-rtos
Sending build context to Docker daemon  4.096kB
Step 1/6 : FROM ubuntu:18.04 as builder
 ---> 5a214d77f5d7
Step 2/6 : RUN apt-get update && apt-get install -y git
 ---> Using cache
 ---> 748c1ed08832
Step 3/6 : RUN git clone --recursive https://github.com/Superhouse/esp-open-rtos.git /opt/esp-open-rtos
 ---> Using cache
 ---> 41abe44240b1
Step 4/6 : FROM esp-sdk:latest
pull access denied for esp-sdk, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
MacBook-Pro-de-Renan:new renanwrobel$

anyone experienced this issue? or know how to fix? thanks in advance

renandw commented 2 years ago

I am using the latest version of Docker

renandw commented 2 years ago

I changed the eep-open-docker file to this:

# Download base image ubuntu 20.04
FROM ubuntu:20.04 as builder

# LABEL Information about the image
LABEL maintainer="info@studiopieters.nl"
LABEL version="3.0.8"
LABEL description="This is a revised Docker Image for \
the ESP Homekit Software Development Kit."

# Update Ubuntu Software repository and install prerequisites
RUN apt-get update && apt-get install -y git

RUN git clone --recursive https://github.com/Superhouse/esp-open-rtos.git /opt/esp-open-rtos

FROM nhnghia/esp-open-sdk

COPY --from=builder /opt/esp-open-rtos /opt/esp-open-rtos

ENV SDK_PATH /opt/esp-open-rtos

it worked. thanks: https://www.studiopieters.nl/esp-homekit-sdk-revised-installation/