Skip to content

Instantly share code, notes, and snippets.

@besolov
Created October 6, 2016 12:08
Show Gist options
  • Save besolov/9b670c3dc10b38b3626a81742794219b to your computer and use it in GitHub Desktop.
Save besolov/9b670c3dc10b38b3626a81742794219b to your computer and use it in GitHub Desktop.
docker exec -i -t `docker ps | awk 'FNR == 2 { print $1; }'` /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment