Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-jetty

Dockerfile for setting up Docker container with Jetty installed as well as the cargo plugin installed.

Versions:

  • Jetty 8.1.15

Pulling

$ docker pull maluuba/jetty-cargo

Running

$ docker run -d -p 8080:8080 -i -t maluuba/jetty-cargo

Then point your browser at http://localhost:8080/
or http://192.168.59.103:8080/ if you are using boot2docker

Optionally you can create a local folder with sub-folders for: webapps, config and contexts. Copy your war files into webapps, your context xmls into contexts and any custom config to be copies into ../jetty/etc/ into config. In addition if you put a script called init.sh at /etc/jetty/init.sh it will be executed before jetty is run. This can be used to perform any custom setup steps.

$mkdir /local/jetty
$mkdir /local/jetty/webapps
$mkdir /local/jetty/config
$mkdir /local/jetty/contexts

$ docker run -d -p 8080:8080 -v /local/jetty:/etc/jetty -i -t maluuba/jetty-cargo

Author

LICENSE

Copyright 2014 Maluuba

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Docker Pull Command
Owner
maluuba
Source Repository

Comments (0)