docker run -d --name tomcatOne -v /opt/docker-cluster/cluster/server.xml:/usr/local/tomcat/conf/server.xml -v /opt/docker-cluster/cluster/ROOT:/usr/local/tomcat/webapps/ROOT tomcat
when i give this command the container start to run in background, while i inspect the container , it showing
[root@localhost docker-cluster]# docker inspect tomcatOne | grep IPAddress
"SecondaryIPAddresses": null,
"IPAddress": "",
"IPAddress": "",
docker run -d --name tomcatOne -v /opt/docker-cluster/cluster/server.xml:/usr/local/tomcat/conf/server.xml -v /opt/docker-cluster/cluster/ROOT:/usr/local/tomcat/webapps/ROOT tomcat
when i give this command the container start to run in background, while i inspect the container , it showing
[root@localhost docker-cluster]# docker inspect tomcatOne | grep IPAddress
"SecondaryIPAddresses": null,
"IPAddress": "",
"IPAddress": "",