Sunday, November 20, 2022

การตรวจสอบว่าตอนนี้เรารัน docker-compose.yml ไฟล์ไหนอยู่

 เราสามารถตรวจสอบได้จาก container id ที่กำลัง active อยู่ โดยรันคำสั่งต่อไปนี้

docker inspect <container_id> | grep compose

No comments:

Post a Comment