how can I pass terminal env COLUMNS and LINES to docker-compose.yml?
up vote
1
down vote
favorite
I want to pass columns size and line size which are defined in my terminal to docker-compose.yml, but it doesn't recognize them if I write like below.
environment:
- COLUMNS=$COLUMNS
- LINES=$LINES
- TERM=$TERM
And when I hit docker-compose command, it throws the following warning.
WARNING: The COLUMNS variable is not set. Defaulting to a blank string.
WARNING: The LINES variable is not set. Defaulting to a blank string.
Has anyone come across this issue and know how to solve this?
Thank you for your help in advance.
terminal docker-compose
add a comment |
up vote
1
down vote
favorite
I want to pass columns size and line size which are defined in my terminal to docker-compose.yml, but it doesn't recognize them if I write like below.
environment:
- COLUMNS=$COLUMNS
- LINES=$LINES
- TERM=$TERM
And when I hit docker-compose command, it throws the following warning.
WARNING: The COLUMNS variable is not set. Defaulting to a blank string.
WARNING: The LINES variable is not set. Defaulting to a blank string.
Has anyone come across this issue and know how to solve this?
Thank you for your help in advance.
terminal docker-compose
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to pass columns size and line size which are defined in my terminal to docker-compose.yml, but it doesn't recognize them if I write like below.
environment:
- COLUMNS=$COLUMNS
- LINES=$LINES
- TERM=$TERM
And when I hit docker-compose command, it throws the following warning.
WARNING: The COLUMNS variable is not set. Defaulting to a blank string.
WARNING: The LINES variable is not set. Defaulting to a blank string.
Has anyone come across this issue and know how to solve this?
Thank you for your help in advance.
terminal docker-compose
I want to pass columns size and line size which are defined in my terminal to docker-compose.yml, but it doesn't recognize them if I write like below.
environment:
- COLUMNS=$COLUMNS
- LINES=$LINES
- TERM=$TERM
And when I hit docker-compose command, it throws the following warning.
WARNING: The COLUMNS variable is not set. Defaulting to a blank string.
WARNING: The LINES variable is not set. Defaulting to a blank string.
Has anyone come across this issue and know how to solve this?
Thank you for your help in advance.
terminal docker-compose
terminal docker-compose
asked Nov 21 at 23:55
Fumiya Shibusawa
7115
7115
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53422082%2fhow-can-i-pass-terminal-env-columns-and-lines-to-docker-compose-yml%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown