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

Support passing working directory (linked containers) #8

Open
clue opened this issue Apr 21, 2015 · 0 comments
Open

Support passing working directory (linked containers) #8

clue opened this issue Apr 21, 2015 · 0 comments

Comments

@clue
Copy link
Owner

clue commented Apr 21, 2015

This image currently exposes the directory /var/www. We should look into supporting Docker's workdir option so that this image can be used to browse any directory like this:

$ docker run -d --workdir=/boot/ -p 80:80 --link data:data clue/h5ai

In particular, this also supports browsing arbitrary folders from linked (data) containers:

$ docker run -v /data --name=data busybox true
$ docker run -d --workdir=/data -p 80:80 --link data:data clue/h5ai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant