Coder Social home page Coder Social logo

Comments (4)

deitch avatar deitch commented on June 20, 2024

Can you link to the actual file and lines?

from linuxkit.

neelpandya avatar neelpandya commented on June 20, 2024

Sure, here is link from the current master -

https://github.com/linuxkit/linuxkit/blob/master/src/cmd/linuxkit/run_packet.go#L128

from linuxkit.

deitch avatar deitch commented on June 20, 2024

The commit that added it is here, with the comment:

The -serve command starts a local HTTP server which serves
the kernel and initrd files. The server can then easily be
made available via ngrok or other means.

The reason for it is that Packet (now Equinix Metal) does custom operating systems via iPXE, so you need something to act as the iPXE server. You can use something hosted, or, for testing, you can use this, run a local http server that is listening on localhost, and then use some remote-to-Internet service, like ngrok or inlets, to expose it to the Internet.

Either way, it is intended for testing, e.g. linuxkit run packet someos, which is not part of building an OS or the built OS itself, only part of "here is how I can run it easily via command-line for testing purposes".

from linuxkit.

neelpandya avatar neelpandya commented on June 20, 2024

Thanks a lot for clarifying .

from linuxkit.

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.