Cognyzer Cognyzer Terminus-2.0 Docs
21Section 04 · Creating Tasks

Running Your Task

Running Your Task

Learn how to interact with your task environment and test your solution locally.

What You'll Learn

  • How to start your task container in interactive mode
  • Navigating the task environment
  • Testing commands before adding them to your solution
  • Debugging environment issues

Key Commands

Start Interactive Mode

harbor tasks start-env -p <task-folder> -i

Inside the Container

Once inside, you can: - Navigate the filesystem - Run your solution commands - Test that everything works as expected - Debug any issues

Exit the Container

exit

Tips

  1. Test everything manually first - Run each command of your solution inside the container before writing solve.sh

  2. Check file paths - Verify that all paths in instruction.md exist

  3. Verify dependencies - Make sure all required packages are installed

  4. Note exact commands - Copy the working commands for your solution file

Common Issues

Problem Solution
Container won't start Check Docker is running
Permission denied Run Docker Desktop with admin rights
Missing packages Add to environment/Dockerfile and rebuild
Wrong working directory Check WORKDIR in environment/Dockerfile

  • Writing oracle solution
  • Writing tests