How to install/use docker-compose on Ubuntu snappy?

when I run:

curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

from docker tutorials! i get this error:

-bash: /usr/local/bin/docker-compose: Read-only file system
  • Hi Marco, have you resolved this issue? – Sergey Karpushin Feb 2 '20 at 4:03

You're trying to install compose on the read only partition, you need to save it somewhere in /home/ubuntu/apps/docker for that to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.