Docker container keeps growing

前端 未结 2 1316
孤独总比滥情好
孤独总比滥情好 2021-01-13 04:02

I have a pyhton script that on a loop

  1. Downloads video chunks from AWS S3 to /filename
  2. Sorts files in order and concats them.
  3. Uploads entire
2条回答
  •  借酒劲吻你
    2021-01-13 04:09

    I would suggest you to use volumes, and mount these volumes in your containers. Changes on volumes are instantaneous, as opposed to changes made to the containers filesystem (which is not really removed until you delete the container).

    Have a look at the docs here

提交回复
热议问题