Skip to content

Instantly share code, notes, and snippets.

@vokiel
Created June 7, 2018 08:39
Show Gist options
  • Save vokiel/d77a7adc88534a6d67d8c0f6485d9065 to your computer and use it in GitHub Desktop.
Save vokiel/d77a7adc88534a6d67d8c0f6485d9065 to your computer and use it in GitHub Desktop.
Docker exec into bash console with proper columns and lines
docker exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" -ti container bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment