summaryrefslogtreecommitdiffstats
path: root/roles/docker/files/enter-container.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/files/enter-container.sh')
-rwxr-xr-xroles/docker/files/enter-container.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/roles/docker/files/enter-container.sh b/roles/docker/files/enter-container.sh
deleted file mode 100755
index 7cf5b8d83..000000000
--- a/roles/docker/files/enter-container.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 1 ]
-then
- echo
- echo "Usage: $(basename $0) <container_name>"
- echo
- exit 1
-fi
-
-PID=$(docker inspect --format '{{.State.Pid}}' $1)
-
-nsenter --target $PID --mount --uts --ipc --net --pid