https://github.com/pascalgrimaud/docker-jboss-as
JBoss-AS 7.1.1 container on Ubuntu 14.04
https://github.com/pascalgrimaud/docker-jboss-as
Last synced: 12 months ago
JSON representation
JBoss-AS 7.1.1 container on Ubuntu 14.04
- Host: GitHub
- URL: https://github.com/pascalgrimaud/docker-jboss-as
- Owner: pascalgrimaud
- License: mit
- Created: 2015-05-16T14:45:58.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T12:54:33.000Z (almost 9 years ago)
- Last Synced: 2025-05-08T22:43:56.173Z (12 months ago)
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 6
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[]
(http://jbossas.jboss.org/)
[]
(https://circleci.com/gh/pascalgrimaud/docker-jboss-as)
# Information
The base docker image :
* [pascalgrimaud/ubuntu](https://registry.hub.docker.com/u/pascalgrimaud/ubuntu/)
The GitHub project :
* [pascalgrimaud/docker-jboss-as](https://github.com/pascalgrimaud/docker-jboss-as/)
# Installation
You can clone this project and build with docker command :
```
git clone https://github.com/pascalgrimaud/docker-jboss-as.git \
&& cd docker-jboss-as \
&& docker build -t pascalgrimaud/jboss-as:7.1.1 .
```
You can build directly from the [GitHub project](https://github.com/pascalgrimaud/docker-jboss-as/) :
```
docker build -t pascalgrimaud/jboss-as:7.1.1 \
github.com/pascalgrimaud/docker-jboss-as.git
```
# Help
To display usage :
```
docker run --rm pascalgrimaud/jboss-as:7.1.1 /help
```
# Usage
Quick start with binding to port 8080, 9990 and random password :
```
docker run -d -p 8080:8080 -p 9990:9990 pascalgrimaud/jboss-as:7.1.1
```
To get the password :
```
docker logs
```
Start and set a specific password for JBoss admin user :
```
docker run -d -p 8080:8080 -p 9990:9990 -e JBOSS_PASS="pass" \
pascalgrimaud/jboss-as:7.1.1
```
If you forget the admin password, delete the file .password and restart the container :
```
docker exec -it rm /.password
```
# Deploy a war
To deploy a specific file.war, you need to make another container.
Create a new directory and put your file.war.
Then, create a new Dockerfile :
```
FROM pascalgrimaud/jboss-as:7.1.1
ADD file.war /opt/jboss-as-7.1.1.Final/standalone/deployments/file.war
```