LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-compose-logs

view compose service logs

TLDR

View logs from all services
$ docker compose logs
copy
Follow log output
$ docker compose logs -f
copy
View logs for specific service
$ docker compose logs [service_name]
copy
Show timestamps
$ docker compose logs -t
copy
Limit output lines
$ docker compose logs --tail [100]
copy
Since specific time
$ docker compose logs --since [1h]
copy

SYNOPSIS

docker compose logs [options] [service...]

DESCRIPTION

docker compose logs displays log output from services defined in the Compose file. Aggregates logs from all containers of each service.

PARAMETERS

-f, --follow

Follow log output.
-t, --timestamps
Show timestamps.
--tail n
Number of lines from end.
--since time
Show logs since timestamp or relative time.
--until time
Show logs before timestamp or relative time.
--no-color
Produce monochrome output.

INSTALL

sudo apt install docker-compose
copy
sudo dnf install docker-compose
copy
sudo pacman -S docker-compose
copy
sudo apk add docker-cli-compose
copy
sudo zypper install docker-compose
copy
brew install docker-compose
copy
nix profile install nixpkgs#docker-compose
copy

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid