How to disable cors (cross origin requests restriction) on the docker remote API
2,561 views
Skip to first unread message
Erik Anderson
unread,
Oct 27, 2014, 11:15:05 AM10/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to coreo...@googlegroups.com
According to the documentation found here https://coreos.com/docs/distributed-configuration/etcd-configuration/ you should be able to set the API to allow for cross origin requests restriction. However on the CoreOS base there is no such directory as /etc/etcd/etcd.conf. Does this need to be created and etcd started with it as an option? I'm a bit lost here.
Brandon Philips
unread,
Oct 27, 2014, 11:18:57 AM10/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to coreos-dev
Hello Erik-
This is configuration for etcd but your subject says docker. Are you
asking about docker or etcd?!
By default CORS is disabled for etcd so no further action is required
to disable CORS on etcd.
Thanks,
Brandon
Erik Anderson
unread,
Oct 27, 2014, 1:35:41 PM10/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to coreo...@googlegroups.com
Hi Brandon,
it was a long night. What I am doing is sending Docker Remote API rest calls from a container