Skip to content

Commit

Permalink
Docker exec shell width issue fixed. (see moby/moby#33794).
Browse files Browse the repository at this point in the history
  • Loading branch information
faiyaz7283 committed Jun 12, 2018
1 parent 63b8f34 commit 0a53d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/docker-targets.mk
Expand Up @@ -74,7 +74,7 @@ dc_restart :
dc_login :
@$(call dc_intro); \
$(call print_container_enter, login, $(cnt), $(cnt_shell), $(cnt_user)); \
$(dc_compose) exec --user=$(cnt_user) $(cnt) $(cnt_shell); \
$(dc_compose) exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" --user=$(cnt_user) $(cnt) $(cnt_shell); \
$(call print_container_exit); \
$(call print_completed_target)

Expand All @@ -87,6 +87,6 @@ dc_login :
dc_cmd :
@$(call dc_intro); \
$(call print_container_enter, $(cmd), $(cnt), $(cnt_shell), $(cnt_user)); \
$(dc_compose) exec --user=$(cnt_user) $(cnt) $(cnt_shell) -l -c "$(cmd)"; \
$(dc_compose) exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" --user=$(cnt_user) $(cnt) $(cnt_shell) -l -c "$(cmd)"; \
$(call print_container_exit); \
$(call print_completed_target)

0 comments on commit 0a53d16

Please sign in to comment.