Docker-compose / python3 Fedora - CoreOS 40.20240701.3.0 - SyntaxWarning: invalid escape sequence

Not sure what’s causing this issue, but the Docker version in Fedora is outdated, so I would suggest you to replace it with the latest from the upstream Docker sources by Installing Docker CE on a running system.

Then you can install docker-compose.

curl -SL https://github.com/docker/compose/releases/download/v2.29.0/docker-compose-linux-x86_64 | sudo tee /usr/local/bin/docker-compose > /dev/null

sudo chmod +x /usr/local/bin/docker-compose

I’m not using docker-compose, so please give feedback if this solves the issue.

1 Like