commit | 4e963277b7a1cf559683294883ba099ef22a6304 | [log] [tgz] |
---|---|---|
author | Brandon Philips <brandon@ifup.org> | Fri Jun 06 20:23:29 2014 |
committer | Brandon Philips <brandon@ifup.org> | Fri Jun 06 20:23:29 2014 |
tree | 21044c981582f69659cbc113875daa1fcdd035bd | |
parent | 4f0cdb22c69efa0e02fe8061cc31bf7cac211a0d [diff] | |
parent | 504cf8930810d62cf1cd5a11488250b012375741 [diff] |
Merge pull request #6 from spkane/image-tag Specify a specific docker image tag everywhere
toolbox is a small script that launches a container to let you bring in your favorite debugging or admin tools.
$ /usr/bin/toolbox [root@srv-3qy0p ~]# yum install tcpdump [root@srv-3qy0p ~]# tcpdump -i ens3 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens3, link-type EN10MB (Ethernet), capture size 65535 bytes
Set a /etc/passwd
entry for one of the users to /usr/bin/toolbox
.
useradd bob -m -p '*' -s /usr/bin/toolbox -g sudo
ssh bob@hostname.example.com ______ ____ _____ / ____/___ ________ / __ \/ ___/ / / / __ \/ ___/ _ \/ / / /\__ \ / /___/ /_/ / / / __/ /_/ /___/ / \____/\____/_/ \___/\____//____/ [root@srv-3qy0p ~]# yum install emacs [root@srv-3qy0p ~]# emacs /media/root/etc/systemd/system/docker.service