I am trying to upgrade docker-compose since with the current version I get some error when running a .yml file. Here my current situation:
$ which docker
/usr/bin/docker
$ which docker compose
/usr/bin/docker-compose
$ ls -al | grep docker
-rwxr-xr-x 1 root root 13511128 Feb 28 09:02 docker
-rwxr-xr-x 1 root root 336 Dez 11 2015 docker-compose
-rwxr-xr-x 1 root root 11314960 Feb 28 09:01 docker-containerd
-rwxr-xr-x 1 root root 10464424 Feb 28 09:01 docker-containerd-ctr
-rwxr-xr-x 1 root root 1976648 Feb 28 09:01 docker-containerd-shim
-rwxr-xr-x 1 root root 39473368 Feb 28 09:03 dockerd
-rwxr-xr-x 1 root root 862296 Feb 28 09:01 docker-init
-rwxr-xr-x 1 root root 2573840 Feb 28 09:01 docker-proxy
-rwxr-xr-x 1 root root 8195464 Feb 28 09:01 docker-runc
When tryint to update docker-compose from https://github.com/docker/compose/releases. The output of the command:
sudo curl -L https://github.com/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` > /usr/bin/docker-compose
gives me:
bash: /usr/bin/docker-compose: Permission denied
I am also sudoing the command. Why is that? thanks
No comments:
Post a Comment