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

Incompatible with CoreOS #35

Closed
tribou opened this issue Nov 2, 2013 · 6 comments
Closed

Incompatible with CoreOS #35

tribou opened this issue Nov 2, 2013 · 6 comments

Comments

@tribou
Copy link

tribou commented Nov 2, 2013

I'm receiving the following error when attempting to apply proxy settings to a CoreOS VM:

mv: inter-device move failed: '/tmp/vagrant-proxyconf' to '/etc/profile.d/proxy.sh'; unable to remove target: Read-only file system

Manually adding HTTP_PROXY and HTTPS_PROXY variables do not appear to work with CoreOS either.

@tmatilai
Copy link
Owner

tmatilai commented Nov 2, 2013

@artribou thanks for the report! I haven't played with CoreOS yet at all, so I have to study a bit. But it seems that /etc is mounted read-only. Do you have a link to a CoreOS box or AMI that I could use for testing?

@tribou
Copy link
Author

tribou commented Nov 2, 2013

Yep, here's the box I was using: https://github.com/coreos/coreos-vagrant

@tmatilai
Copy link
Owner

tmatilai commented Nov 3, 2013

@artribou what should vagrant-procysonf do with CoreOS? The whole root partition is read-only and not supposed to be modified.
What are you doing on the VM and how it should be configured to use a proxy server? Do you have an example project (Vagrantfile with provisioners)?

I can disable vagrant-proxyconf env var writing in CoreOS but currently I have no idea if we can do something else. =)

@tribou
Copy link
Author

tribou commented Nov 4, 2013

I understand. I've been fighting with it for a week now and knew it was a long-shot request anyway.

From behind a proxy, I'm not able to use any of the "docker pull", "docker search", etc. commands to download new docker images to the CoreOS VM. This is more likely to be an issue that should be resolved on the CoreOS or Docker side.

@tmatilai
Copy link
Owner

tmatilai commented Nov 4, 2013

This is probably related: moby/moby#1852

@tmatilai
Copy link
Owner

tmatilai commented Nov 5, 2013

So I just disabled writing the environment variables on CoreOS. Let's revisit the situation when Docker supports proxies. Or if someone has other ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants