aboutsummaryrefslogtreecommitdiffstats
path: root/docker_files/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_files/env.sh')
-rw-r--r--docker_files/env.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker_files/env.sh b/docker_files/env.sh
new file mode 100644
index 0000000..c8039e4
--- /dev/null
+++ b/docker_files/env.sh
@@ -0,0 +1,6 @@
+alias dcup='/opt/docker/docker-compose up'
+alias dcdown='/opt/docker/docker-compose down'
+alias din-kafka='docker exec -it "$(docker ps |grep kafka |cut -b 1-12)" /bin/bash'
+alias din-zk='docker exec -it "$(docker ps |grep zookeeper |cut -b 1-12)" /bin/bash'
+alias dlogs-kafka='docker logs "$(docker ps |grep kafka |cut -b 1-12)"'
+alias dlogs-zk='docker logs "$(docker ps |grep zookeeper |cut -b 1-12)"'