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

samba setup.sh fails with docker 1.11.0, "-D info" no longer outputs "Init Path" #47

Open
jamshid opened this issue Apr 17, 2016 · 0 comments

Comments

@jamshid
Copy link

jamshid commented Apr 17, 2016

The https://github.com/SvenDowideit/dockerfiles/blob/master/samba/setup.sh entrypoint script expects to find "Init Path" in the docker info output, but that no longer appear to be output.
I'm working around it by modifying the script in my own Dockerfile based on svendowideit/samba.

FROM svendowideit/samba
# Install docker client
ENV DOCKER_VERSION 1.11.0
RUN curl -sSLf https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz | tar -xzvf - 'docker' && chmod +x docker/* && mv docker/* /bin
RUN rmdir /docker && mv /bin/docker /
RUN sed --in-place 's/Init Path/Root Dir/g' /setup.sh

Here's the output of docker -D info on my Docker for Mac beta7.

Containers: 71
 Running: 25
 Paused: 0
 Stopped: 46
Images: 1008
Server Version: 1.11.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 860
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: host bridge null
Kernel Version: 4.4.6
Operating System: Alpine Linux v3.3
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.859 GiB
Name: docker
ID: MITY:6ZN7:O6CE:D6UK:V2EE:HNNC:CDPK:HZ3U:QH6W:24FQ:6V5U:N7TS
Docker Root Dir: /var/lib/docker
Debug mode (client): true
Debug mode (server): true
 File Descriptors: 129
 Goroutines: 236
 System Time: 2016-04-17T06:58:21.554078106Z
 EventsListeners: 2
Registry: https://index.docker.io/v1/
@jamshid jamshid changed the title samba setup.sh fails beacuse docker 1.11.0 "-D info" no longer outputs "Init Path" samba setup.sh fails with docker 1.11.0, "-D info" no longer outputs "Init Path" Apr 17, 2016
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

1 participant