Skip to content

Instantly share code, notes, and snippets.

@gielfeldt
Created August 17, 2018 10:39
Show Gist options
  • Select an option

  • Save gielfeldt/0a639763172c93b3741b25ba14e864aa to your computer and use it in GitHub Desktop.

Select an option

Save gielfeldt/0a639763172c93b3741b25ba14e864aa to your computer and use it in GitHub Desktop.
docker exec
#!/bin/bash
docker exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" -ti "${@:1}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment