{"id":13844820,"url":"https://github.com/kirillF/centos-tomcat","last_synced_at":"2025-07-12T00:31:57.655Z","repository":{"id":23937756,"uuid":"27319113","full_name":"kirillF/centos-tomcat","owner":"kirillF","description":"Docker CentOs 7 + Java 15 + Tomcat 9","archived":false,"fork":false,"pushed_at":"2022-06-19T17:42:47.000Z","size":22,"stargazers_count":53,"open_issues_count":1,"forks_count":86,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-05T17:43:06.436Z","etag":null,"topics":["centos-tomcat","docker-image"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kirillF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-30T00:06:21.000Z","updated_at":"2024-04-25T09:00:48.000Z","dependencies_parsed_at":"2022-08-22T01:20:36.552Z","dependency_job_id":null,"html_url":"https://github.com/kirillF/centos-tomcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirillF%2Fcentos-tomcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirillF%2Fcentos-tomcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirillF%2Fcentos-tomcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirillF%2Fcentos-tomcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirillF","download_url":"https://codeload.github.com/kirillF/centos-tomcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225772769,"owners_count":17521885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos-tomcat","docker-image"],"created_at":"2024-08-04T17:02:58.165Z","updated_at":"2024-11-21T17:30:52.841Z","avatar_url":"https://github.com/kirillF.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell"],"sub_categories":[],"readme":"Docker container: CentOS 7 + Java 17 + Tomcat 9\n\n## Build the image\n\n```sh\ngit clone https://github.com/kirillF/centos-tomcat.git\ncd centos-tomcat\ndocker build -t kirillf/centos-tomcat .\n```\n\n## How to use\nPut your war under the `/opt/tomcat/webapps` directory and run the following command.\n\n```sh\ndocker run -v /opt/tomcat/webapps:/opt/tomcat/webapps -v /opt/tomcat/logs:/opt/tomcat/logs -p 8080:8080 -i -t --name centos-tomcat kirillf/centos-tomcat\n```\n\nOnce you run it, you can start the container with `docker start centos-tomcat` in next time and log file will be under the `/opt/tomcat/logs` directory.\n\nAlso, if you got some error, you can remove the container with `docker rm centos-tomcat`. Your current container list will be show with `docker ps -a`.\n\nFor Mac user, you must share the directory `/opt/tomcat/webapps` and `/opt/tomcat/logs` on Docker \u003e Preferences \u003e File Sharing.\n\n## Versions\nIf you got error while build the docker image, please check the latest version of Java and Tomcat.\n\n|Software|Version|Note|\n|:-----------|:------------|:------------|\n|CentOS|7||\n|Java|17 [Java Release Note](https://jdk.java.net/17/release-notes)|\n|Apache Tomcat|9.0.54|[Tomcat Download Page](https://tomcat.apache.org/download-90.cgi)|\n\n[Docker Official Image for Tomcat](https://github.com/docker-library/tomcat) is also available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FkirillF%2Fcentos-tomcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FkirillF%2Fcentos-tomcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FkirillF%2Fcentos-tomcat/lists"}