Updating Trusted Domains in Nextcloud Docker

It may have vi or nano in it already.

The safest and arguably most convenient method is to run occ by invoking php in docker exec. You can set up a bash alias so you can simply type occ (example here). I find this to be a big QOL improvement over the long term.

Alternatively you could also use docker cp to copy out the config, edit, and then copy back in.

1 Like