Tested on Windows 10 using DockerToolbox
./run.sh
Stop all containers:
docker stop $(docker ps -a -q)
Remove all containers :
docker rm $(docker ps -a -q)
Remove all images
docker rmi $(docker images -q)
Remove all images which has name none
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
Monitoring containers
docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--volume=/dev/disk/:/dev/disk:ro \
--publish=9999:9999 \
--detach=true \
--name=cadvisor \
google/cadvisor:latest
Services
http://192.168.99.100:8585/swagger-ui.html
http://192.168.99.100:8686/swagger-ui.html
http://192.168.99.100:9090/swagger-ui.html
http://192.168.99.100:9999/frontendnode/index.jsf
http://192.168.99.100:8082/turbine.stream
http://192.168.99.100:8081/hystrix/
For see hystrix monitor please do some clicks in http://192.168.99.100:8686/swagger-ui.html dummy API methods and switch to link
This node will show logs from other nodes after you click core-node http://192.168.99.100:8585/swagger-ui.html API methods.
http://192.168.99.100:1111/login.html
User admin Password admin123
docker-compose up -d --no-deps --build airline-node
./restart.sh
docker-compose -f apache-benchmark/docker-compose.yml up
- docker service create --name frontend frontend-node
- docker service scale frontend=2
- docker ps -a
- not tested fully https://docs.docker.com/engine/reference/commandline/service_create/#parent-command
https://docs.docker.com/engine/swarm/swarm-tutorial/scale-service/