Docker Community Forums

Share and learn in the Docker community.

Compose install question on Linux

I’m basically feeling my way through installing on Centos8.

Per the command…
sudo curl -L “https://github.com/docker/compose/releases/download/1.25.1/docker-compose-(uname -s)-(uname -m)” -o /usr/local/bin/docker-compose

I am not sure what -(uname -s)-(uname -m) means exactly.

I can’t an explanation.

Thanks in advance.

You did remove the characters, in front of the opening round bracket. `( … )` will run the command inside the round brackets in a subshell, its output will be rendered in place. In your case, it is used to dynamicly render OS and CPU architecture into the download url.