I have no idea how ncp works, but you can try this…
docker exec -ti nextcloudpi php -f /var/www/nextcloud/occ user:resetpassword your_username
I have no idea how ncp works, but you can try this…
docker exec -ti nextcloudpi php -f /var/www/nextcloud/occ user:resetpassword your_username