Docker install with Nextcloud and SSH access

Hi,

I’m trying to install SSH (and enable the service) on top of my Nextcloud installation in Docker, and have it work on reboot. Having run through many Dockerfile, docker-compose combinations I can’t seem to get this to work. Ive tried using entrypoint.sh scripts with Dockerfile, but it wants a CMD at the end and then it doesn’t execute the “normal” nextcloud start up.

Any help would be much appreciated. Thank you

Why…? Would be a lot simpler to SSH the host and then run docker exec.

1 Like

3 posts were merged into an existing topic: How to enable ssh access in AIO