Skip to main content

atmos devcontainer logs

Use this command to view logs from a devcontainer, useful for debugging container startup issues or monitoring background processes.

atmos devcontainer logs --help

Usage

atmos devcontainer logs <name> [flags]

Arguments

name
Name of the devcontainer to show logs from

Flags

--instance string
Instance name for this devcontainer (default: default)
--follow / -f
Follow log output in real-time
--tail string
Number of lines to show from the end of the logs (default: all)

Examples

# Show all logs
atmos devcontainer logs geodesic

# Follow logs in real-time
atmos devcontainer logs geodesic --follow

# Show last 100 lines
atmos devcontainer logs geodesic --tail 100

# Show logs from a specific instance
atmos devcontainer logs terraform --instance project-a --follow

See Also