Code Monkey home page Code Monkey logo

Comments (4)

gabrielbarata avatar gabrielbarata commented on June 25, 2024

I resolved that on sandbox\deploy\compose\sync-images-to-local-registry\upload.sh, adding dest=$(echo $dest|sed 's/\r$//') after read -r src dest <<<"$l". But, unfortunately, I still couldn't get the tinkerbell to work.

from playground.

ashokjanardhana avatar ashokjanardhana commented on June 25, 2024

@gabrielbarata , Thanks a lot for the response.
I tried adding the line you mentioned ( dest=$(echo $dest|sed 's/\r$//') ) in upload.sh and re-ran the command "docker-compose up -d". Unfortunately issue is not resolved, still seeing the same error as before i.e "ERROR: for sync-images-to-local-registry Container "c1d2fcdaeda3" is unhealthy."

Copy/pasting the snippet from upload.sh below:

for l in "${lines[@]}"; do
        read -r src dest <<<"$l"
        dest=$(echo $dest|sed 's/\r$//')    **------> The line you mentioned to add.**
        echo "::::: syncying $src → $url/$dest :::::" >&2
        skopeo copy --all --dest-tls-verify=false --dest-creds="$user:$pass" "docker://$src" "docker://$url/$dest"
done

( I am seeing same error in Ubuntu also. Code snippet given above is from Ubuntu )

from playground.

gabrielbarata avatar gabrielbarata commented on June 25, 2024

Can you run docker-compose logs sync-images-to-local-registry please?

from playground.

ashokjanardhana avatar ashokjanardhana commented on June 25, 2024

@gabrielbarata , I ran the command you gave but I am not seeing any logs getting displayed. Please find the console ouput.

xy@ab:~/sandbox/deploy/compose$ sudo docker-compose logs sync-images-to-local-registry
Attaching to
xy@ab:~/sandbox/deploy/compose$

from playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.