Running Docker Jobs in self hosted

We are looking at created self hosted runners. Our current jobs are run on CircleCI cloud runners.

According to the docs, we have to use kubernetes for this. We do not currently run kubernetes and have no intention to spin up a cluster.

Our current job is:

jobs:
  plan:
    docker:
      - image: XXXX.dkr.ecr.us-east-1.amazonaws.com/XXX:latest
   steps:
      - checkout
      - run:
            /usr/run_playbook.py

Is there any way we can get the above to work with self hosted runners, the AI bot said to follow Install machine runner 3 on Docker - CircleCI but this still has the same error.

the container (k8s) runner is the only option to use the docker executor in your circle yml config file in that manner.

Install machine runner 3 on Docker - CircleCI will require you to adjust your circle yml config file to use the “machine” executor unfortunately. Using the Linux VM execution environment - CircleCI