Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Folder Can't be Found OSX #5

Open
simonsez opened this issue Jun 29, 2014 · 3 comments
Open

The Folder Can't be Found OSX #5

simonsez opened this issue Jun 29, 2014 · 3 comments

Comments

@simonsez
Copy link

Hello,

I'm having some difficulty connecting to the volume from my OSX host OS.

cifs://192.168.59.103/data results in "The folder can't be found"

When running

Simons-MacBook-Air-1130:source simon$ docker run -v /data --name data busybox true

and then

Simons-MacBook-Air-1130:source simon$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock -e localstubsource svendowideit/samba data 
true
stopping and removing existing server
starting samba server container with data /data
add /data
Starting Samba daemons: nmbd smbd.
watching /var/log/samba/*
==> /var/log/samba/cores <==
tail: error reading `/var/log/samba/cores': Is a directory
tail: /var/log/samba/cores: cannot follow end of this type of file; giving up on this name

==> /var/log/samba/log.nmbd <==
[2014/06/28 00:41:31,  0] nmbd/nmbd.c:861(main)
  nmbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011

==> /var/log/samba/log.smbd <==
[2014/06/28 00:41:31,  0] smbd/server.c:1053(main)
  smbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2014/06/28 00:41:31.896525,  0] printing/print_cups.c:110(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2014/06/28 00:41:31.896775,  0] printing/print_cups.c:487(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

Is samba not running in the container?

@SvenDowideit
Copy link
Owner

sorry, I will clean this output up today - that log looks like everything is fine - you can do a docker top <container> to see if samba is running - I suspect it is.

to be sure - id 192.168.59.103 the ip returened by boot2docker ip ?

@simonsez
Copy link
Author

Hmm you are spot on:

Simons-MacBook-Air-1130:Downloads simon$ docker top samba-server
PID                 USER                COMMAND
7336                root                {setup.sh} /bin/bash /setup.sh --start data /data
7360                root                /usr/sbin/nmbd -D
7363                root                /usr/sbin/smbd -D
7364                root                tail -f /var/log/samba/cores /var/log/samba/log.nmbd /var/log/samba/log.smbd
7366                root                /usr/sbin/smbd -D

And yes

Simons-MacBook-Air-1130:Downloads simon$ boot2docker ip
The VM's Host only interface IP address is: 192.168.59.103

screen shot 2014-06-29 at 5 39 59 pm

Any idea what I might be doing wrong?

@SvenDowideit
Copy link
Owner

I've made an update to that container that paints a more positive picture :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants