maga
maga

Reputation: 720

Uploading files into Google Persistent Disk

I'm using Google Container Engine to run docker containers that use persistent disks for data storing, the disks are mounted as volumes.

It's all well, except I was wondering if there is a standard way to directly access and upload/download files to/from persistent disks used this way (that is, not attached to a particular VM) or should I run a separate container with FTP or some such using the same volumes in order to do that? The later seems a bit of an overkill for such a trivial task.

Upvotes: 4

Views: 1164

Answers (1)

CJ Cullen
CJ Cullen

Reputation: 5662

Instead of using persistent disks, you could use Google Cloud Storage. It has a pretty simple CLI and API for both uploading your files and pulling them into the containers that need them.

Upvotes: 0

Related Questions