This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
# Path to a public key to install on servers. If a usable key has not | |
# been installed on the remote servers, the user is prompted for a | |
# password and this key is installed so the password will not be | |
# required again. | |
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub | |
# Default password to be used everywhere (overridden by passwords set | |
# for individual services or users). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is the whole scenario : | |
I have one java based application it has two ports one is db and another one is web(application) ports. | |
I am running single container with blow commands | |
without docker-swarm : | |
docker run -it -d --name web1 -h "My Hostname" -p 9080:9080 -p 1521:1521 -v /home/web1/log:/opt/web1/jboss/server/log/ -v /home/web1/license:/opt/web1/jboss/server/license/ -v $JAVA_HOME:/opt/jdk/ MYIMAGE | |