-
Notifications
You must be signed in to change notification settings - Fork 7
Fig Compatibility #2
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
Comments
I've not actually tried it, no. I do understand that handling volumes (and the filesystem in general) is tricky with Docker on OS X. I'm actually only using Docker in production now, rather than in development, as it seems to work much easier that way. Sorry this is a week later, I've been very busy with work! |
We're using this with fig and it actually works. The only problem we're running into is the problem with
When I'm building an image from Dockerfile it actually occurs at every other step. It doesn't happen with boot2docker, because boot2docker uses AUFS. So it would be very useful if this project used AUFS too, as it gets a little boring and slow to restart build for every other step. |
I'll see if I get some time to look into using AUFS. Is there a publicly available Docker image / Fig configuration that you know does this that I can use to test this issue with? |
Not that I know of, but if I'll find something or make it myself, I will certainly notify you |
I am having this same issue. It seems that when a dockerfile uses the COPY command, then RUNs a command against the file that was just copied, docker does not see the newly created container (since it chains container builds together when it builds). Not sure this is specific to fig, but it also happening for me when running fig up to build and orchestrate a set of containers. |
Hi folks. I've just pushed a couple of small changes, and am hoping that the issue is resolved. I have since tried a fig setup using this on my MacBook Pro, and it all worked fine - I just let it do it's thing and it got the whole way through without a hiccup. Please update your copy from this repo and give it another shot and see if you still encounter any issues please. Also - I made it a little easier to configure the CPU count and memory of the machine, just specify the values you want in environment variables |
Now when docker-compose has replaced fig, I'm not experiencing the devicemapper issue anymore. |
Great stuff! :) I'll have to actually give compose a try tonight. I'm going to close this for now though. |
@seeruk Because I miss-configured disqus on my blog, your comments has been removed on my bog :/. The change needed from fig to docker-compose is just to rename the fig.yml to docker-compose.yml and then use the docker-compose runtime. (Check top change: mewm/ghost-mariadb-docker@8e50023 ) |
No worries, thanks for letting me know. I'm glad it's that straightforward! :) |
Just tried it out, worked flawlessly with docker-compose. Awesome :) |
Sweet! All safe and sound then 👍 |
Have you ever used fig volumes with your vagrant image?
I've been using boot2docker and performance is terrible, so I've been working on setting up Vagrant/NFS rather than relying on the VBoxFS.
I tried another Vagrant/Boot2Docker fork but the volumes don't mount.
Thought I would ping you in case you've already tried it.
The text was updated successfully, but these errors were encountered: