Skip to content

Latest commit

 

History

History
 
 

2.7

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Caddy 2.7 Image

This directory contains the build definition for the unikraft.org/caddy:2.7 image.

To run this image, first install Unikraft's companion command-line toolchain kraft. After installation, you can start caddy by running the following:

kraft run -M 512M -p 2015:2015 --plat qemu --arch x86_64 unikraft.org/caddy:2.7

To test the liveliness, query the server using:

curl localhost:2015

You will get a Hello, World! message.

Building from source

To build the image locally, clone this repository and cd into this directory. Then run:

kraft build --no-cache .

To run the locally built image, use:

kraft run -M 512M -p 2015:2015 .

See also