Public Repository

Last pushed: 2 years ago
Short Description
a slim Docker container running a continuous Java servlet server
Full Description

SOURCE

https://github.com/mcandre/docker-servlet-slim

ABOUT

docker-servlet-slim is a container for hosting Java servlets, made smaller with a few techniques:

EXAMPLE

$ docker run -d -p 8080:8080 mcandre/docker-servlet-slim
b00d723845226f67f827956618cac21a33fdbe0f5f91b6ef2df8165a0cfc0a0d

$ sleep 2

$ time curl -s http://$(boot2docker ip):8080 | head
<HTML>
  <HEAD>
    <TITLE>Powered By Jetty</TITLE>
    <META http-equiv="Pragma" content="no-cache">
    <META http-equiv="Cache-Control" content="no-cache,no-store">
  </HEAD>
<BODY>
<A HREF="http://www.eclipse.org/jetty"><IMG SRC="jetty_banner.gif"></A>
<h1>Welcome to Jetty 7 - REMOTE ACCESS!!</h1>
<p>

real    0m0.407s
user    0m0.041s
sys    0m0.045s
docker images | grep mcandre/docker-servlet-slim | awk '{ print $(NF-1), $NF }'
207 MB
Docker Pull Command
Owner
mcandre

Comments (0)