Giter Club home page Giter Club logo

thatsk-_-tomcat's Introduction

tutum-docker-tomcat

This image will be deprecated soon. Please use the docker official image: https://hub.docker.com/_/tomcat/

Deploy to Tutum

Base docker image to run a Tomcat application server

Image tags

    tutum/tomcat:latest
    tutum/tomcat:8.0
    tutum/tomcat:7.0
    tutum/tomcat:6.0
    tutum/tomcat:5.5
    tutum/tomcat:4.1

Usage

To create the image tutum/tomcat, execute the following command on the tutum-docker-tomcat folder:

docker build -t tutum/tomcat .

To run the image and bind to port :

docker run -d -p 8080:8080 tutum/tomcat

The first time that you run your container, a new user admin with all privileges will be created in Tomcat with a random password. To get the password, check the logs of the container by running:

docker logs <CONTAINER_ID>

You will see an output like the following:

========================================================================
You can now connect to this Tomcat server using:

    admin:b1uKcRK3r6SF

Please remember to change the above password as soon as possible!
========================================================================

In this case, b1uKcRK3r6SF is the password allocated to the admin user.

You can now login to you admin console to configure your tomcat server:

http://127.0.0.1:8080/manager/html
http://127.0.0.1:8080/host-manager/html

Setting a specific password for the admin account

If you want to use a preset password instead of a random generated one, you can set the environment variable TOMCAT_PASS to your specific password when running the container:

docker run -d -p 8080:8080 -e TOMCAT_PASS="mypass" tutum/tomcat

You can now test your deployment:

http://127.0.0.1:8080/

Done!

by http://www.tutum.co

thatsk-_-tomcat's People

Contributors

bdevloed avatar fermayo avatar mariane-sm avatar maximeheckel avatar tifayuki 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.