修复 docker logs 显示不出 chalk 表示的 log 的颜色
修改 docker-compose.yml, 为对应的 service 增加 tty: true 的配置。
如下:设置 tty
services:
s1:
# image: s1
container_name: s1
restart: always
build: .
tty: true
修复 docker logs 显示不出 chalk 表示的 log 的颜色
修改 docker-compose.yml, 为对应的 service 增加 tty: true 的配置。
如下:设置 tty
services:
s1:
# image: s1
container_name: s1
restart: always
build: .
tty: true