local docker permissions problems
See original GitHub issueI have to start cromwell with sudo to be able to run anything in docker.
In the same time when I start cromwell as sudo it creates all folders with root privileges and I have things like:
/bin/bash: /root/bedtest/7702b69d-25ac-4d3e-964c-be15181a59c5/call-coverage/execution/script: Permission denied
in stderr.
Here is the WDL that I run:
workflow bedtest {
File first
File second
call coverage {
input:first=first,second=second
}
}
task coverage {
File first
File second
command {
bedtools coverage -sorted -a $first -b $second -counts > counts.txt
}
runtime {
docker: "biocontainers/bedtools"
}
output {
File counts = "counts.txt"
}
}
Here are the inputs that I pass through API:
JSONObject(
"bedtest.first" -> "/home/antonkulaga/data/assembly4/4_sorted.bam",
"bedtest.second" -> "/home/antonkulaga/data/assembly4/9_sorted.bam"
)
P.S. I also tried:
sudo usermod -aG docker $USER
that allows to run docker without sudo. The problem remains the same.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to fix docker: Got permission denied issue - Stack Overflow
Fix Docker Issue: (Permission denied) · Create the docker group if it does not exist: sudo groupadd docker · See number of super...
Read more >Troubleshooting Docker Permission Denied Problems
Many factors could lead to a permission denied error while connecting to Docker. One of those factors is that you may be running...
Read more >Avoiding Permission Issues With Docker-Created Files
One frequent solution, is to “chown” your shared folder again and again. It's tedious and there is a better way: read on to...
Read more >How to Fix Docker Permission Denied? - phoenixNAP
Docker outputs the "Permission Denied" error when a non-root user without sufficient privileges attempts to execute a Docker command. This ...
Read more >How to fix docker: Got permission denied while trying to ...
I've just installed docker but I have to run it with sudo every time. If I don't add sudo I get the following...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the latest version docker works like a charm, thank you for fixing this!
Perfect, thanks for the update