Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

serves a web page on port 53.
You can remap when you run this with eg -p 8040:53.

Example to run:
docker run -it -p 8040:53 --entrypoint=/bin/bash richardchin/simplewebserver

Example request:

[centos@d010223006093 ~]$ curl -X GET http://10.223.6.151:8040/hello.html
<!DOCTYPE html>

<html>
<body>

<h1>A Test</h1>

<p>You got this page!</p>

</body>
</html>

Docker Pull Command
Owner
richardchin

Comments (0)