Nextcloud docker unable to mount samba shares

I have nextcloud:latest installed on Docker on Ubuntu 18.04 but I’m unable to mount external samba shares shared on Windows 2012 R2 host. I’m getting protocol negotiation failed nt_status_connection_reset in the logs.

I installed smbclient using the following Dockerfile:

FROM nextcloud:apache

RUN apt-get update && apt-get install -y procps smbclient && rm -rf /var/lib/apt/lists/*

which seemed to work since before I did that SMB/CIFS external storage was not even an option.

Am I missing something here?

Does the lack of response mean that there is an issue with the docker image and smb? I’m seeing other posts about the exact same thing.

The smbclient did have an issue: Ubuntu is not upgrading, or fixing … so you need to get a newer version yourself …