我的yaml文件如下:
version: '2'
services:
foo:
image: ubuntu:latest
container_name: demo_ubuntu
运行命令:
sudo docker-compose up -d
启动的容器状态为exit 0,不是正常的up状态
求解答~
PHP中文网2017-04-24 09:13:28
I found that using the redis mirror can keep the up state, but ubuntu cannot. I wonder who can explain this situation