🧀 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

Just for review: Docker needs to be installed and the daemon running.

This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.

Full documentation ↗

Related commands