git clone https://github.com/abhirockzz/nats-hello-world-docker.git
cd nats-hello-world-docker/java-publisher
mvn clean install
cd ..
docker-compose build --no-cache
//build containers
Give it a few seconds
docker-compose up
//start containers
http://<docker_host_ip>:8222
http://<docker_host_ip>:8222/connz
Pub and sub... the usual stuff
docker-compose down