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
6115
6115
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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