更新时间:2022-11-06 20:13:53
考虑到S3是具有非常特定特征的存储平台;它不允许部分更新,它实际上没有文件夹结构,依此类推.从表面上看,它与文件系统可能有很多相似之处,但是它并不是要构建为一个文件系统,也不应该用作一个文件系统.
Consider that S3 is a storage platform with very specific characteristics; it doesn't allow for partial update, it doesn't actually has a folder structure and so on. On the surface it might have a lot of similarities with a filesystem, but it is not build to be one nor should it be used as one.
您可以创建EBS或EFS卷并将其附加到Docker容器.或者,您可以使用或创建一个插件,该插件使用S3拥有的特定API在S3上存储一些数据.
You can create and attach EBS or EFS volumes to your Docker container. Alternatively, you could use or create a plugin that stores some data on S3 with the specific API's that S3 has.