0
votes

I have a google compute engine instance (Ubuntu 16.04 LTS).

I want to copy docker volumes from my local machine to the google compute engine instance. I tried to use the command given in - How to copy docker volume from one machine to another? But it didn't work. Please help.

1
Your question does not have sufficient information to help you. Please share what steps you tried and how you realized it didn't work. - Tuxdude

1 Answers

0
votes

Mount the volumes on your local machines, so that data can be accessible as File System level. Then You need to have 'gcloud' setup properly on your local-machine.

Then you can use gcloud commands to copy the data from local-machine to GCE-Instances.

Method to copy files from local machine to GCP Instances