GithubHelp home page GithubHelp logo

henrysher / docker-secured-tomcat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eyaldahari/docker-secured-tomcat

0.0 3.0 0.0 35 KB

Docker Image packaging for A hardened Apache Tomcat https://tomcat.apache.org

License: Apache License 2.0

docker-secured-tomcat's Introduction

Docker Secured Apache Tomcat

Docker Image packaging for A hardened Apache Tomcat

This image extends the original Docker official image for Apache Tomcat (tomcat:jre8)

It adds security hardening to Apache Tomcat according to OWASP

How to use and run this Docker image

  • Make sure you have Docker installed

There are two options to take in order to use the image

  1. Docker pull the image by running:

$ docker pull eyaldahari/hardenedtomcat

Then run:

$ docker run -it --rm -p 8888:8080 eyaldahari/hardenedtomcat

  1. Build the image yourself:
  • Download/Clone this repository files to a directory (ex. /home/ubuntu/docker_tomcat)

  • Run the following command:

    $ docker build /home/ubuntu/docker_tomcat

  • Run the following command in order to get the new image id

    $ docker images

  • Assuming image id is: dd6a9057831e. In order to run the Apache Tomcat hardened container run:

    $ docker run -it --rm -p 8888:8080 dd6a9057831e

  • By default the command that run Tomcat Server is:

    $ catalina.sh run

After completing the steps above, a Hardened Tomcat server will be up listenning on port 8888. In order to connect to the server, open a browser at the following URL: http://docker-host-ip:8888 Once the container exits it will be removed automatically by Docker.

Follw me on

twitter | linkedin | blog

docker-secured-tomcat's People

Watchers

Henry Huang avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.