docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.21k stars 1.23k forks source link

Windows - Quickstart Terminal - Docker Compose Logs colour not displaying #306

Open SC7639 opened 8 years ago

SC7639 commented 8 years ago

On windows when I execute docker-compose logs I get some extra characters (e.g. [36) as displayed below and no colour coding for the different cotainers.x docker-compose logs

docker version

Client:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      windows/amd64

Server:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   76d6bc9
 Built:        Tue Nov  3 19:20:09 UTC 2015
 OS/Arch:      linux/amd64

docker-compose version

docker-compose version: 1.5.1
docker-py version: 1.5.0
CPython version: 2.7.10
OpenSSL version: OpenSSL 1.0.2a 19 Mar 2015
ikasty commented 8 years ago

You can use 'cat' solution

Thadir commented 7 years ago

the cat solution how ever makes using sending the gracfull shutdown command. So if you use that youl be using docker-compose down to shuting down your docker images

SC7639 commented 7 years ago

I've moved over to Git Bash and that displays colours just fine

Thadir commented 7 years ago

@SC7639 how did you manage this, becouse the default git bash does not use the same initiation shell as the docker shell.

SC7639 commented 7 years ago

Run the quick start terminal and then open git bash or you can run docker-machine start (default (depending on version this is done by default)) && ${docker-machine env} to set the environment variables for that docker host