Code Monkey home page Code Monkey logo

microimage-tomcat's Introduction

tomcat

如何使用该镜像

运行默认的tomcat服务器 (CMD ["catalina.sh", "run"]):

$ docker run -it --rm index.csphere.cn/microimages/tomcat:8.0

你可以打开 http://container-ip:8080 进行测试,或者你需要将端口映射到宿主机上的8888端口:

$ docker run -it --rm -p 8888:8080 index.csphere.cn/microimages/tomcat:8.0

然后你就可以在浏览器地址栏里输入 http://localhost:8888http://host-ip:8888 来看到效果了。

该镜像的默认Tomcat环境变量有:

CATALINA_BASE:   /usr/local/tomcat
CATALINA_HOME:   /usr/local/tomcat
CATALINA_TMPDIR: /usr/local/tomcat/temp
JRE_HOME:        /usr
CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

配置文件位于 /usr/local/tomcat/conf/. 默认情况下没有在 "manager-gui" 角色里配置用户,如果你需要使用该应用,则必须在 tomcat-users.xml 配置中定义这样一个用户。

授权和法律

该镜像由希云制造,未经允许,任何第三方企业和个人,不得重新分发。违者必究。

支持和反馈

该镜像由希云为企业客户提供技术支持和保障,任何问题都可以直接反馈到: [email protected]

microimage-tomcat's People

Contributors

hanwoody avatar 2839543 avatar

Watchers

Jesse Wang avatar  avatar James Cloos avatar Shijiang Wei avatar linyin 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.