Conn2Flow
Docs navigation

Reference / CLI

CLI: Docker

c2f docker commands, arguments and options declared in source code.

The docker:* family has 4 command(s) registered in Application.php.

Run php cli/c2f.php <command> --help at the Core root to check the installed version. The console uses its own contracts; --help is handled before execute(). The syntax below comes from each command.

docker:logs

Source: cli/src/Commands/DockerLogsCommand.php.

Usage: c2f docker:logs [--lines=50]
Displays container logs.

docker:php-version

Source: cli/src/Commands/DockerPhpVersionCommand.php.

Usage: c2f docker:php-version
Runs 'docker exec conn2flow-app php -v'

docker:status

Source: cli/src/Commands/DockerStatusCommand.php.

Usage: c2f docker:status
Shows running containers and ports.

docker:truncate-logs

Source: cli/src/Commands/DockerTruncateLogsCommand.php.

Usage: c2f docker:truncate-logs
Cleans the PHP error log inside the Docker container.

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting