Public Repository

Last pushed: 2 years ago
Short Description
a Docker container running a continuous Tomcat server
Full Description

SOURCE

https://github.com/mcandre/docker-tomcat

EXAMPLE

$ docker run -d -p 8080:8080 mcandre/docker-tomcat
680099c1e25b4b88fa0c751fbc748398002dace46fb953aba1a050a0ce0c1ba0

$ sleep 2

$ time curl -s http://$(boot2docker ip):8080 | head
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Apache Tomcat</title>
</head>

<body>
<h1>It works !</h1>

real    3m50.967s
user    0m0.046s
sys    0m0.054s
Docker Pull Command
Owner
mcandre

Comments (0)