ct-Open-Source / tuya-convert

A collection of scripts to flash Tuya IoT devices to alternative firmwares
MIT License
4.6k stars 496 forks source link

Unable to pull tuya:latest. No longer exists at docker-hub. #1075

Open aaronouthier opened 1 year ago

aaronouthier commented 1 year ago

Getting an error when trying to pull from tyua:latest using docker-compose file. I checked docker hub - there is no repo named simply tuya.

stnokott commented 1 year ago

You need to build it first using the Dockerfile in the repo.

docker build -t tuya:latest .

The Docker documentation in the README mentions this step.

sewo80 commented 1 year ago
its not working anymore:

# docker build -t tuya:latest .
[+] Building 2.2s (3/3) FINISHED                                                                                                      docker:default
 => [internal] load build definition from Dockerfile                                                                                            0.1s
 => => transferring dockerfile: 426B                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                               0.1s
 => => transferring context: 2B                                                                                                                 0.0s
 => ERROR [internal] load metadata for docker.io/phusion/baseimage:master                                                                       0.4s
------
 > [internal] load metadata for docker.io/phusion/baseimage:master:
------
Dockerfile:1
--------------------
   1 | >>> FROM phusion/baseimage:master
   2 |     
   3 |     RUN apt-get update && apt-get install -y sudo iproute2 iputils-ping
--------------------
ERROR: failed to solve: phusion/baseimage:master: docker.io/phusion/baseimage:master: not found
dominicdoty commented 1 year ago

If you get stuck here, you need to change your Dockerfile to point to a specific image like:

FROM phusion/baseimage:jammy-1.0.1

Look for tags: Phusion Dockerhub

See: phusion issue for master tag

EBADBEEF commented 3 months ago

I suggest using FROM phusion/baseimage:bionic-1.0.0 (Ubuntu-18.04) otherwise the script was not successful (looks the same as https://github.com/ct-Open-Source/tuya-convert/issues/1022). I was able to upgrade two Bestek MRJ10011 using docker compose. I used my desktop linux with an Intel AX200 (iwlwifi driver) wifi card. I had to change the docker-compose.yml to specify WLAN=wlp9s0 for my system.