डॉकर रन को डॉकर कंपोज़ में परिवर्तित करें
"डॉकर रन" कमांड को डॉकर-कंपोज़ फ़ाइलों में परिवर्तित करता है!
कॉमनस्पेक
name: <your project name>
services:
nginx:
ports:
- 80:80
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
restart: always
logging:
options:
max-size: 1g
image: nginx