hyperhq / hypercli

Command line tool for the Hyper.sh platform.
https://hyper.sh
Apache License 2.0
168 stars 40 forks source link

Unable to bind volume in read-only mode #186

Open sriv1211 opened 7 years ago

sriv1211 commented 7 years ago

I am able to mount a volume test with the command hyper run -it -v test:/test ubuntu.

If I then append :ro to the mount command, hyper run -it -v test:/test:ro ubuntu, I get the following error: hyper: Error response from daemon: Bad request parameters: invalid volume bind parameter.

I am using the hyper.sh platform.

Client: Version: 1.10.5 API version: 1.23 Go version: go1.7.4 Git commit: 6b9a905 Built: Sat Dec 3 01:41:22 UTC 2016 OS/Arch: darwin/amd64

Server: Version: Hyper.sh Public Service API version: 1.23 Go version: go1.6.3 Git commit:
Built:
OS/Arch: linux/amd64

carmark commented 7 years ago

hello @sriv1211 ,

Currently, hyper.sh does not support bind parameter for volume.

Thanks, -Lei