Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 906 Bytes

File metadata and controls

36 lines (22 loc) · 906 Bytes

Python 3.13

This directory contains the definition for the unikraft.org/python:3.13 image starting a simple HTTP server.

To use this application, first install Unikraft's companion command-line toolchain kraft.

You can run the pre-build image directly from the Unikraft application registry:

kraft run --rm -M 256M -p 8080:8080 unikraft.org/python:3.13

Or you can build the application image (with Unikraft):

rm -fr .config* .unikraft ; kraft build --no-cache --no-update --plat qemu --arch x86_64 .

And run the local image:

kraft run --rm -p 8080:8080 --plat qemu --arch x86_64 -M 512M .

Then, query the server using:

curl localhost:8080

You will get a Hello, World! message.

See also