Re:Show HN: Convert your Containerfile to a bootable OS
by monstajoe on Tuesday May 07, 2024 @03:15PM
(#40290269)
That's cool! Can you use it to display react apps on the screen though?
[ Parent
| on HN ]
Re:Show HN: Convert your Containerfile to a bootable OS
by OJFord on Tuesday May 07, 2024 @03:17PM
(#40290292)
If that's what your entrypoint sets up, yeah?
Re:Show HN: Convert your Containerfile to a bootable OS
by monstajoe on Wednesday May 08, 2024 @06:54AM
(#40296519)
I meant physically render the full website on the screen.
Re:Show HN: Convert your Containerfile to a bootable OS
by OJFord on Wednesday May 08, 2024 @08:41AM
(#40297421)
I know.
This turns a Linux container into a bootable Linux OS.
If your container starts a GUI environment and launches a browser pointed to your React app I see no reason to think that wouldn't work after making it bootable.
It sounds like you're expecting it to be some kind of OS of its own though, that it would automatically drop straight in to code you give it somehow. That's not what it is.
Re:Show HN: Convert your Containerfile to a bootable OS
by eichin on Friday May 10, 2024 @08:55PM
(#40325184)
If you're looking to build a bootable kiosk sort of thing, the old-school way was just a service file that ran xinit -- chromium --kiosk http://localhost/whatever. (no idea how to express that in wayland.) It's not locked down as much as you'd hope and there are a lot of details, but starting with that and letting the error messages guide your way is a workable approach...