-
Notifications
You must be signed in to change notification settings - Fork 28
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
docker desktop may be incompatible with dockstore cli #5135
Comments
install Docker desktop rather than Docker engine as a prerequisite |
Possible considerations (caveat: I'm lacking the OICR Slack context)
|
That's annoying. FWIW, it may be as simple as "we've only tested successfully with Docker Engine"
Might be a red-herring, @hyunnaye was able to run Docker containers manually. We think it was the permissions issue. |
Ok, did some research on this. While installing Docker Desktop, it initially completely failed which made me suspicious. Turns out Docker Desktop for Linux requires virtualization to be running unlike Docker engine. It does this because it runs Docker desktop inside a VM(!), which kind of defeats the performance boost of being able to run containers without the overhead of a VM in the first place. i.e. https://raw.githubusercontent.com/collabnix/dockerlabs/master/beginners/docker/images/vm-docker5.png is no longer correct, Docker engine is running inside a VM with Docker desktop! My reaction was basically https://news.ycombinator.com/item?id=31331672 and https://news.ycombinator.com/item?id=31334581 |
Anyway, I gave the dockstore CLI a shot and ran into the above problem.
In other words. The directories are owned by root which is weird since in Docker engine, the ownership looks more like
In other words, the user that owns the directories is that id 1000 user that Docker start command is using with This looks a bit like docker/desktop-linux#81 In the meantime, I think we just have to warn against Docker desktop for the Dockstore CLI and keep an eye on Docker Desktop issues in the cwltool repo |
➤ Kathy Tran commented: PR: dockstore/dockstore-ui2#1652 ( https://github.com/dockstore/dockstore-ui2/pull/1652|smart-link ) Verified on QA that the quick start has a warning about using Docker Desktop with the Dockstore CLI: !image-20230405-192146.png|width=1278,height=61! Moving to Done [Domain] - https://qa.dockstore.org ( https://qa.dockstore.org|smart-link ) Webservice ( https://github.com/dockstore/dockstore/commits/199226f ) - 199226f UI ( https://github.com/dockstore/dockstore-ui2/commits/274e8dee ) - 2.10.1-112-g274e8dee Compose Setup ( https://github.com/dockstore/compose_setup/commits/6f68328 ) - 6f68328 Deploy ( https://github.com/dockstore/dockstore-deploy/commits/140c057 ) - 1.13.2-31-g140c057 cwlParsingLambdaVersion: n/a wdlParsingLambdaVersion: n/a nextflowParsingLambdaVersion: n/a galaxyParsingLambdaVersion: 0.0.6 checkUrlLambdaVersion: n/a |
Describe the bug
Potential incompatibility and permissions issues running workflows with Docker desktop and docker cli on Ubuntu
To Reproduce
git clone git@github.com:GA4GH-DREAM/dockstore-workflow-helloworld.git
cd dockstore-workflow-helloworld
dockstore workflow launch --entry github.com/GA4GH-DREAM/dockstore-workflow-helloworld/dockstore-workflow-helloworld:1.0.0 --json test.cwl.json
Expected behavior
Should just run.
Temporary workaround is to recommend Docker engine, should emphasize on https://docs.dockstore.org/en/stable/getting-started/getting-started-with-docker.html#how-do-i-install-docker
Screenshots
Additional context
https://oicr.slack.com/archives/C16ET3CF4/p1663265312705299
┆Issue is synchronized with this Jira Story
┆Attachments: image-20230405-192146.png
┆Fix Versions: Dockstore 1.14
┆Issue Number: DOCK-2246
┆Sprint: 101 - Cheeks, Sandy
┆Issue Type: Story
The text was updated successfully, but these errors were encountered: