summaryrefslogtreecommitdiffstats
path: root/roles/docker/files/enter-container.sh
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-05-26 16:09:13 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-05-26 16:09:13 -0400
commit5cf4c381c48e3286b1c7417d9873e39ba93cd1a0 (patch)
tree0ee934a82e94bac74f056580076ad50792fe643e /roles/docker/files/enter-container.sh
parent24433e82d6e6bb90ed842e5c58d235c6cda7643c (diff)
parent801f215bd2cd5341d63b5dd91298d23b11dc3553 (diff)
downloadopenshift-5cf4c381c48e3286b1c7417d9873e39ba93cd1a0.tar.gz
openshift-5cf4c381c48e3286b1c7417d9873e39ba93cd1a0.tar.bz2
openshift-5cf4c381c48e3286b1c7417d9873e39ba93cd1a0.tar.xz
openshift-5cf4c381c48e3286b1c7417d9873e39ba93cd1a0.zip
Merge pull request #249 from kwoodson/docker
Docker storage role.
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