SvenDowideit / dockerfiles

dockerfiles that I use
http://fosiki.com
MIT License
212 stars 60 forks source link

Docker Engine 1.9 #34

Closed trkoch closed 7 years ago

trkoch commented 8 years ago

Is this container supposed to work with Docker Engine 1.9?

$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba data

data has no volumes, nothing to share
...
trkoch commented 8 years ago

I tried running the above command both on Mac and within the boot2docker VM. data has volumes attached. Am I missing something?

$ docker inspect data
        ...
        "Volumes": {
            "/data": {}
        },
        ...
trkoch commented 8 years ago

Finally managed to get it to work using a fork of this repository. It appears the JSON returned by docker inspect has changed. See https://github.com/guillaumegiordana/dockerfiles/commit/a27c905f35ffdabb24381bca515c8d15311dbe05. Is there a pull request yet?