Configure sambe external storage in docker env

docker
smb
nc14

#1
Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2):
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

I installed nextcloud from https://hub.docker.com/_/nextcloud/.

I am running simplest example by

$ docker run -d -p 8080:80 nextcloud

The issue you are facing:

I am using transmission container to download and want to share the download contents w/ nextcloud. Someone told me the only way is to setup a samba share.

Therefore, on same server, I created a docker samba server with username and password. I tested the server by external smb client.

However I don’t know how I can configure the external storage in nextcloud.

Here is my config:

Folder name: SMB
Authentication: Username and password.
Host: localhost
Share: /Mount
Username:
Password:
Available for: admin(group).

However it always fails.

Pls suggest.

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE