Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ilyesAj/81de7ebb3120d387bc707b98c090684c to your computer and use it in GitHub Desktop.
Save ilyesAj/81de7ebb3120d387bc707b98c090684c to your computer and use it in GitHub Desktop.
for docker installation and container :
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository
Jboss container install :
https://github.com/pascalgrimaud/docker-jboss-as
command to launch :
docker run -it -p 8080:8080 -e JBOSS_PASS="pass" -v /home/ilyess/tmp:/opt/jboss-as-7.1.1.Final/standalone/deployments/:z pascalgrimaud/jboss-as:7.1.1
-v /home/ilyess/tmp:/opt/jboss-as-7.1.1.Final/standalone/deployments/:z : to do a bridge between the container image and the host machine
you maybe need to force SElinux on the docker's machine with setenforce 0
-p 8080:8080 => to force the port to 8080
eclipse :
https://tools.jboss.org/blog/2015-03-02-getting-started-with-docker-and-wildfly.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment