🧀 Learn Linux

Advanced · Management Services

docker:Manage container

Syntax

docker ps | logs container | exec -it container sh

Options

ps
View running containers
logs
View log
exec
Run command inside container

Examples

docker ps

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands