This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error with docker

Hi all,

I run the command below:

sudo systemctl unmask docker

sudo: systemctl: command not found

Would you please help? I found this one but it is not the same error: https://github.com/daringer/asus-fan/issues/74

Thank you so much!

docker

Can you relate this question to bioinformatics? Otherwise, that's an easily googleable error message you can pursue on your own, and which belongs in a different forum.

I follow a tutorial to learn to use docker and haven't apply to bioinformatics yet. I googled this error and haven't figured out the reason yet, so just ask here if you got this error before.

What OS are you on?

1 answer

This could be an XY problem around running sudo-less docker ... possibly?

Anyway the control you are using is for Linux only. For Mac its

sudo launchctl config system umask docker

or 775 might be the command you are wanting,

sudo launchctl config system umask 002 docker

... this very hairy command BTW.

If your familiar with using this for Linux then no problem, if not I'd express reservations about running and look for another solution Its not test BTW, because I wouldn't run it on my system - I'd need a Mac OSX docker container to run that and a Mac OSX docker is a contradiciton.


Just for the record I don't hang around here, docker posts flag on my email. Bioinformatics relevance, I understand. However, I would urge leniency because the general uptake and knowledge of docker within the bioinformatics community is thin. I've seen real ... better not say. I ain't a mod on this site but I do think there needs to a bit of slack on this topic.

I use the terminal on Mac. On the cluster server, the admin use Singularity but not Docker so I don't have Linux. Maybe I can try it on a local Linux machine. Thank you so much!

No problem, as always upvotes welcome on any forum.

Log in to answer this question.