- Jetty 8.1.15
$ docker pull maluuba/jetty-cargo
$ docker run -d -p 8080:8080 -i -t maluuba/jetty-cargo
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
- Usman Ismail (firstname.lastname@example.org)
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
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.