Setting up first admin user with docker says email cannot open because there's no such file

I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

Ubuntu 22.04.1 LTS
Client: Docker Engine - Community
 Version:           20.10.23
 API version:       1.41
 Go version:        go1.18.10
 Git commit:        7155243
 Built:             Thu Jan 19 17:45:08 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
  Version:          20.10.23
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.10
  Git commit:       6051f14
  Built:            Thu Jan 19 17:42:57 2023
  OS/Arch:          linux/amd64
  Experimental:     false
  Version:          1.6.15
  GitCommit:        5b842e528e99d4d4c1686467debf2bd4b88ecd86
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
  Version:          0.19.0
  GitCommit:        de40ad0

Docker Compose Version v2.15.1

Here is the command im entering (im counting this as my logs as there is no error message or error code):

admin@server:~$ docker compose -f docker-compose-ce.yaml exec passbolt su -m -c "/usr/share/php/passbolt/bin/cake \
                                passbolt register_user \
                                -u <> \
                                -f <A> \
                                -l <R> \
                                -r admin" -s /bin/sh www-data

and here is the returned message:

sh: 1: cannot open No such file

Health check and response:

admin@server:~$  sudo su -s /bin/bash -c "./bin/cake passbolt healthcheck" www-data
[sudo] password for admin: 
bash: line 1: ./bin/cake: Permission denied

(yes I entered the password correctly I tried 3 times to be sure)

Troubleshooting steps:
I have:
investigated on Stack Overflow
3 separate google searches
attempted to all the install steps 3 times
performed a health check
checked docker status
container status checked
docker compose status checked

I don’t know how I could recreate the issue because im still following the steps this is the page im following: Passbolt Help | Docker passbolt installation

hey @RustyAlley welcome to the forum!

For the register_user command, are you leaving the <> around the email address and names? If so you shouldn’t, so your example would be:

admin@server:~$ docker compose -f docker-compose-ce.yaml exec passbolt su -m -c "/usr/share/php/passbolt/bin/cake \
                                passbolt register_user \
                                -u \
                                -f A \
                                -l R \
                                -r admin" -s /bin/sh www-data

For the healtcheck it looks like you are running that on the server hosting your docker and not in the container. This page has the instructions for running this command in docker