common-workflow-language / common-workflow-language/cwltool

Improve error message when container is not available

Open
#856 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

## Expected Behavior
Docker is available, but container is not.

## Actual Behavior

```
Error response from daemon: manifest for biocontainers/interproscan:latest not found
Workflow error, try again with --debug for more information:
Docker is not available for this tool, try --no-container to disable Docker, or install a user space Docker replacement like uDocker with --user-space-docker-cmd.: Command '['docker', 'pull', 'biocontainers/interproscan:latest']' returned non-zero exit status 1.
```

Would be nice to tell user what exactly is wrong. In this case there is no latest container

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported docker pull failure for biocontainers/interproscan:latest and trace where cwltool turns that failure into the workflow error. Done means the message distinguishes an unavailable container tag from Docker itself being unavailable and gives the user actionable guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.