Skip to content

a new faq and a small addition to the Docker faq#35

Merged
vsoch merged 2 commits intosingularityware:masterfrom
GodloveD:add-a-faq
Dec 10, 2016
Merged

a new faq and a small addition to the Docker faq#35
vsoch merged 2 commits intosingularityware:masterfrom
GodloveD:add-a-faq

Conversation

@GodloveD
Copy link
Copy Markdown
Contributor

No description provided.

### When I try mounting my container with the ```-B``` or ```--bind``` option I receive an <i>unknown option</i> or <i>Invalid argument</i> error.

Make sure that you are using the most recent Singularity release to mount your container to the host system. Also, make sure you are using an up-to-date Singularity to bootstrap your container. Some features (such as ```--bind```) will not work in earlier versions.

Copy link
Copy Markdown
Member

@vsoch vsoch Dec 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like this addition - I (still) run into this from time to time, but because I put the --bind in the wrong spot! Should we add a bit about that as well? Something like:

Make sure that you are using the most recent Singularity release to mount your container to the host system, and that the --bind argument is placed after the execution command (e.g, run, exec, shell). An example might look like this:

  singularity run -B $PWD:/data analysis.img ...

What do you think, something like that? Then I think we are good to go!

@GodloveD
Copy link
Copy Markdown
Contributor Author

GodloveD commented Dec 10, 2016 via email

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 10, 2016

oh you will love Github! When you make a pull request (PR) you can keep pushing to the same branch (in this case, add-a-faq) and it will update automatically (and this is the most common and easiest option). The other case is sometimes done, but a little harder - I would basically pull your branch, make an addition, and then make a PR to your PR, and then merge this PR, or (if you aren't available) submit a new PR with the combined changes.

@GodloveD
Copy link
Copy Markdown
Contributor Author

GodloveD commented Dec 10, 2016 via email

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 10, 2016

Looks great! Thanks for updating this, I've run into this issue several times.

@vsoch vsoch merged commit 2425c36 into singularityware:master Dec 10, 2016
@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 10, 2016

Hey just in case this broke the site, I'm going to revert. Don't worry - will be added again if it wasn't the issue!

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 10, 2016

I emailed Github support, going to get to the bottom of the index bug - will re-merge yours back when we do. Sorry about this!

@GodloveD
Copy link
Copy Markdown
Contributor Author

GodloveD commented Dec 10, 2016 via email

@vsoch
Copy link
Copy Markdown
Member

vsoch commented Dec 11, 2016

ok, bug is fixed, and now your section is live again!

The bug was with the new github pages - if you read that post, it's supposed to ignore the README.md given that you have an index.md or index.html, however when you add a jekyll layer on top of that, methinks we found a bug in their stuff somewhere, because we had an index.md (which I changed to index.html to test) and it still rendered the README.md

@GodloveD
Copy link
Copy Markdown
Contributor Author

GodloveD commented Dec 11, 2016 via email

@GodloveD GodloveD deleted the add-a-faq branch December 19, 2016 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants