There's a lot of stuff going on here, so let me break down your post for each issue:
-
You need to understand the difference between a
docker run
command, and detaching to run a container in the background. Just running it with 'run' keeps it in the foreground. -
For the passphrase issue: https://github.com/nextcloud/all-in-one/discussions/1786
-
Lastly, if you're not familiar with containers, and this is a single purpose machine, you'd be better off just running the bare project on the host. If there's no need for containerization, just skip it.
No, just clone the project and run it without a container. The docs cover that as well.