Move dockerfiles to their own folder

This commit is contained in:
Marcos Lilljedahl
2017-09-15 17:58:11 -03:00
parent 23d0d8e8d0
commit 6b43fc0e83
15 changed files with 4 additions and 42 deletions

22
dockerfiles/dind/docker-prompt Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
case "$DOCKER_HOST" in
*:3376)
echo swarm
;;
*:2376)
echo $DOCKER_MACHINE_NAME
;;
*:2375)
echo $DOCKER_MACHINE_NAME
;;
*:55555)
echo $DOCKER_MACHINE_NAME
;;
"")
echo local
;;
*)
echo unknown
;;
esac