Comments (4)
Can you link to the actual file and lines?
from linuxkit.
Sure, here is link from the current master -
https://github.com/linuxkit/linuxkit/blob/master/src/cmd/linuxkit/run_packet.go#L128
from linuxkit.
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.
Thanks a lot for clarifying .
from linuxkit.
Related Issues (20)
- Docker for Mac Example - Virtualization Framework
- Issue with MacOS example HOT 5
- Failed to build init tarball HOT 2
- kernel BUG: io_uring openat triggers audit reference count underflow HOT 1
- Please enable the VRF kernel module in linuxkit
- Add 'cache push' command to push images by tag
- when using cache push, make push of arch-specific tags optional
- Docker hub binfmt tagging is.. awkward? HOT 2
- kernel-perf for 6.6.x has no bins? HOT 3
- Failed to build init tarball from linuxkit/init:v0.7: Could not pull image linuxkit/init:v0.7: Trusted pull for linuxkit/init:v0.7 failed: targets expired at Thu Sep 7 16:16:02 +0100 2023 HOT 1
- [init] Make cgroups v2 the default
- --data-file flag not working on MacOS with Virtualization runner HOT 1
- moby/buildkit version should be upgraded to resolve CVE-2024-23652 and CVE-2024-23653 HOT 2
- ReferenceExpand causes image lookup failures with containerd image store HOT 1
- Resolve user/group name from the container rootf HOT 1
- logread v1.0 does not "-F"ollow HOT 5
- logread can dump JSON-d logs from memlogd
- Packet is Equinix Metal now [since 2020] HOT 1
- [Feature Request] Add support to volumes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linuxkit.