2019-02-06 21:17:55 +00:00
|
|
|
|
|
|
|
run:
|
2019-02-13 22:11:23 +00:00
|
|
|
@docker-app render | docker-compose -f - up -d --build
|
|
|
|
|
|
|
|
run_tomcat:
|
|
|
|
@docker-app render | docker-compose -f - up -d --build tomcat
|
|
|
|
|
|
|
|
log:
|
|
|
|
@docker logs docker_hello_1 -f
|
2019-02-06 23:50:26 +00:00
|
|
|
@docker-app render | docker-compose -f - up -d --build && docker logs hello -f
|
2019-02-06 21:17:55 +00:00
|
|
|
|
|
|
|
rm:
|
|
|
|
@docker rm -f $$(docker ps -a --format="{{.Names}}")
|
|
|
|
|
|
|
|
get:
|
|
|
|
@etcdctl get /dev/etcd/loaded
|
|
|
|
|
|
|
|
put:
|
|
|
|
@etcdctl put /dev/etcd/loaded 1
|
|
|
|
|
|
|
|
del:
|
|
|
|
@etcdctl del /dev/etcd/loaded
|
2019-02-06 23:50:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
status:
|
|
|
|
curl http://127.0.0.1:9200/_cat/health
|