Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create a volume to container? #3

Open
huanghantao opened this issue Aug 8, 2019 · 5 comments
Open

how to create a volume to container? #3

huanghantao opened this issue Aug 8, 2019 · 5 comments

Comments

@huanghantao
Copy link

how to create a volume to container?

@w-vi
Copy link
Owner

w-vi commented Aug 16, 2019

Sorry for late reply but I was away and offline. When you say volume, what exactly you mean? You want to mount something erxtra apart form the image?

@huanghantao
Copy link
Author

Just like the docker's volume, for example:

docker run -v test:/test

@w-vi
Copy link
Owner

w-vi commented Aug 17, 2019

This functionality is not there but I think it is a nice feature request.

@taouichaimaa
Copy link

hello, this may seem a bit dumb but how do you exactly pass the command for the process to execute it? if I run the script from an IDE it gives a shell and the message ' clone: operation not permitted' while if I sudo run it from my shell it gives the child pid as output ( and no new shell).

@w-vi
Copy link
Owner

w-vi commented Feb 27, 2020

Sorry I overlooked you question. When you say pass command, do you mean command to run in the container? If so then https://github.com/w-vi/diyC/blob/master/docs/diyc/usage.md#usage the last parameter is the command. Does this answer your question? Maybe if you could provide the whole command line arguments I would better understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants