Skip to content

nhambletCCRI/docker-tomcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tomcat

OSERAF container for Tomcat

Installation

  1. Connect to AWS or Server Instance (must have docker enabled and http(s) access
  2. Clone or update docker repository on AWS docker instance (e.g. git clone https://github.com/OSERAF/docker-tomcat.git)
  3. verify settings in conf/application.conf, conf/tomcat-users.xml, conf/ikanow-duke.conf and edit for your environment
  4. sudo sh scripts/build.sh to create the docker image
  5. sudo sh scripts/startcontainer.sh to start the docker image (note it will map to port 8081. Edit for different port.)
  6. sudo docker ps -a (To verify running)
  7. sudo docker exec -i -t <container id from 6> bash

Editing files in Docker Container

You can connect to a bash prompt of a running docker container from an ssh session as follows:

  1. get the docker container id with sudo docker ps -a (assumes your user is in sudoers)
  2. connect with bash shell as follows: sudo docker exec -i -t <container id> bash

About

OSERAF container for Tomcat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published