Giter Club home page Giter Club logo

docker4jboss's Introduction

#Docker for JBoss

This project contains docker images & composed environments for JBoss Middleware that designed for demos, tests, workshops & trials. Please beware of that container images in this project are not designed for in production use purposes, indeed images are fat and loaded with tools to make your tests & demos are more easy.

I tried to use a clean naming convention for sub directories in the project, so it should be clear what resides under each subdirectory. You can also find a fair documentation and instructions under each subdirectory. I suggest start digging with compose subdirectories that created for composition of several components working together for a certain purpose, than build required images & start playing.

All image binaries can be found in Red Hat's internal registry. If you're an RedHatter, you can download images from that repository instead of building locally.

Prerequisites

Docker

Docker must be installed and configured. See the following documentation to download and configure docker on your platform

A comprehensive platform list can be found here

To get started with Docker, please refer to the official user guide

Docker Compose

docker-compose can help you to run composed environments in more easy and efficient way. Please install the latest version as following the instructions on docker-compose web page.

Disable Firewalld (RHEL, CentOS, Fedora) on Your Host

Firewalld is default firewall management in RHEL 7, Centos 7, and Fedora 18+. It's a new stack replacing iptables but docker controls iptables and don't know how to deal with firewalld yet, so its strongly suggested that you stop firewalld service & start iptables service on Red Hat linux derivatives before you run any composed environments. An alternative approach to this would be defining required rule sets for internal container communication and change docker's default option to ```--iptables=false`` to prevent docker changing iptables on your host. Let me warn you, about that this means that you'll be doing a lot of work manually by yourself. If iptables package not already installed on your system, install it.

yum install iptables-services

In order to disable firewalld and enable iptables , use commands:

systemctl disable firewalld.service
systemctl stop firewalld.service
systemctl enable iptables.service
systemctl enable ip6tables.service
systemctl start iptables.service
systemctl start ip6tables.service
systemctl stop docker
systemctl daemon-reload
systemctl start docker

Docker Config

I prefer to give the most flexible network permissions to docker to prevent undesired pain. I recommend you to use change docker options in your /etc/sysconfig/docker file as below.

OPTIONS='--selinux-enabled --icc=true --iptables=true'

If you curious about this settings, I suggest you to read docker networking page.

docker4jboss's People

Contributors

serhat-dirik avatar

Watchers

Ted Won avatar  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.