Closed zaataravi closed 7 years ago
Have you tried running the build
scripts first? Sometimes there is a build
script, but if there is a docker-compose.yml
file, you need to run docker-compose build
from within that directory...
Yup, that did it, thank you Scott. I needed to:
mkdir /vagrant/
mkdir /vagrant/examples/
# checkout user-nginx into /vagrant/examples
./build
./run
to make it all work, since the build
script relies on finding the code at vagrant/examples
.
I am happy to submit a Pull Request to update the README.md
file, and potentially fix some issues with the build/run
scripts, if you think it is useful. Thx for putting this stuff together!
Ah, I see, you're not running within Vagrant? Everything is setup and intended to be run through a Vagrant VM...
@ravi-sensify, this is the guide... https://github.com/smebberson/docker-alpine/blob/master/CONTRIBUTING.md
I think I might need to improve the README though so it's more obvious...
Sounds good, I'll take a closer look. No, I'm ripping a bunch of dockers out for my own private use, I didn't realize individual dockers were so tightly coupled with Vagrant itself.
Thanks a ton once again! 👍
@ravi-sensify, they're not really tightly coupled to Vagrant. Just the development environment and examples are.
If you're planning on using these on your own projects, it's intended that you'll download them from Docker Hub in your Dockerfile as per FROM smebberson/alpine-rabbitmq
for example.
Hi, I'm unable to execute any of the
run
scripts in theexamples
directory. Am I doing something wrong? Thanks! --ravi.