Skip to content

balena-io-experimental/ncat-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runs a simple "hello world" web server for container testing.

Implementation

Uses the web server provided by the ncat utility. For example, to listen on port 8080:

# balena run --rm -d -p 8080:80 kb2ma/ncat-web-server

Then you can fetch the page from the device at the URL http://<device-ip>:8080/index.html.

See the section Turn Netcat into a simple web server on the Neat Tricks page for more details.