ERROR: No such service: bitcoin

when I tried to run

sudo docker compose logs -f bitcoin

when I use the bitcoin id instead, I get this

WARN[0000] The “PWD” variable is not set. Defaulting to a blank string.

Please help if you can

Thanks

figured out a solution, find the container ID

docker ps -a
sudo docker logs --follow container ID

Hope that helps anyone with the same question

1 Like