Docker-compose command 有多个命令例子
cat docker-compose.yml
version: '3.4'
services:
klvchen:
image: python_django:19.03.0
ports:
- 8000:8000
command:
- /bin/bash
- -c
- |
cd /app01
python manage.py runserver 0.0.0.0:8000
volumes:
- /iba/app01:/app01