docker - Fig support on Boot2Docker / Windows platform -
i trying started with docker & fig using official boot2docker framework.
the fig website includes instructions getting fig working on os-x (http://blog.docker.com/2014/10/fig-1-0-boot2docker-compatibility-and-more/). however, there no references getting fig working within boot2docker under windows.
i tried instructions installing fig within boot2docker fig website @ http://www.fig.sh/install.html, , ran roadblock command:
curl -l https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig
apparently boot2docker filesystem read-only, curl command fails.
can assist me getting fig working boot2docker under windows?
i ended adding alias boot2docker vm (by editing default user .profile):
alias fig='docker run --rm -it \ -v $(pwd):/app \ -v /var/run/docker.sock:/var/run/docker.sock \ -e fig_project_name=$(basename $(pwd)) \ dduportal/fig'
this creates docker container running fig command. first invocation takes minute or two, afterwards it's pretty seamless.
answer cribbed from: https://github.com/docker/fig/issues/598
Comments
Post a Comment