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 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
|