Skip to main content

Volumes

在 image 裡面我們所能抓到的值,只能用來 read,但是在 container 裡面我們可以對裡面的值做 read, write 的動作

data 種類

  1. application (code + env)

    read-only (images)

  2. temporary (cache, log, user input)

    read-write (container)

  3. persistent (database, config) read-write (container && volume)