Git Product home page Git Product logo

Comments (8)

chiptus avatar chiptus commented on August 18, 2024 1

from chinstrap.

ant4g0nist avatar ant4g0nist commented on August 18, 2024

yes, it should be possible. Sandbox would be a concern as I am using docker to launch Flextesa container from inside chinstrap. Would be Dockerception!

dockerception

from chinstrap.

chiptus avatar chiptus commented on August 18, 2024

from chinstrap.

ant4g0nist avatar ant4g0nist commented on August 18, 2024

done!

docker run -v /var/run/docker.sock:/var/run/docker.sock -it ant4g0nist/chinstrap:0.0.13

Please give it a try!

from chinstrap.

ant4g0nist avatar ant4g0nist commented on August 18, 2024

Is that good for now? :)

from chinstrap.

chiptus avatar chiptus commented on August 18, 2024

I guess the image is built for mac, right?

he requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested

can we have an amd64 image?

from chinstrap.

chiptus avatar chiptus commented on August 18, 2024

building it locally worked, I think.

why the entrypoing of the image is bash and not chinstrap?

I expect to see the regular output of chinstrap when I'm running the image.

When I run docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it chinstrap:local chinstrap I get:

import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/360.
/usr/local/bin/chinstrap: line 3: from: command not found
/usr/local/bin/chinstrap: chinstrap: line 6: syntax error near unexpected token `('
/usr/local/bin/chinstrap: chinstrap: line 6: `    with warnings.catch_warnings():'

from chinstrap.

ant4g0nist avatar ant4g0nist commented on August 18, 2024

Okay. thanks for checking it. fixed and pushed both arm and amd images and made chinstrap the entrypoint.

note: the target folder needs to be shared with Docker

docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/home -it ant4g0nist/chinstrap:0.0.13 --init

Screenshot 2021-08-01 at 17 02 05

from chinstrap.

Related Issues (5)

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.