Open amirjankar opened 4 years ago
good find! Niranda can you verify
# Windows/cross-platform code that works
docker run -d -it \
--mount type=bind,src={cloudmesh_home_dir},dst=/root/.cloudmesh \
--mount type=bind,src=~/cm,dst=/cm \
--mount type=bind,src=~/.ssh,dst=/root/.ssh \
--net host \
--name {CMS_CONTAINER_NAME} \
{CMS_IMAGE_NAME}
Also, could I add an -e tag that adds the cm directory as a volume so that we can use it for testing? New code above
Niranda we need to verify the difference between volume management. As I recall I use -v he suggests to add a -e tag, I do not think I ever used that.
Also it looks like that here the --mount is used instead of -v
Can we look into the difference
anish, please file separate issues if you can so refile this and add my comment
https://github.com/cloudmesh/cloudmesh-cmsd/blob/master/cloudmesh_cmsd/cmsd/command/cmsd.py#L424
solution: