Skip to content

Instantly share code, notes, and snippets.

View henrikuittinen's full-sized avatar

Henri Kuittinen henrikuittinen

View GitHub Profile
@henrikuittinen
henrikuittinen / dockerbash
Last active April 26, 2016 07:45 — forked from jaamo/dockerbash
Shortcut to execute docker exec -it ID bash
#!/bin/bash
# Print out a list of docker containers.
i=0
firstrun=0
while read x
do
if [ $firstrun == 0 ]
then
echo "$x"