我的yaml文件如下:
version: '2' services: foo: image: ubuntu:latest container_name: demo_ubuntu
运行命令:
sudo docker-compose up -d
启动的容器状态为exit 0,不是正常的up状态
求解答~
人生最曼妙的风景,竟是内心的淡定与从容!
Just add the startup command, such as /bin/bash
/bin/bash
I found that using the redis mirror can keep the up state, but ubuntu cannot. I wonder who can explain this situation
You can refer to https://github.com/sequenceiq...
Just add the startup command, such as
/bin/bash
I found that using the redis mirror can keep the up state, but ubuntu cannot. I wonder who can explain this situation
You can refer to https://github.com/sequenceiq...