I made a webserver container to issue ajax calls to the docker API. I changed DOCKER_OPTS in /etc/defalt/docker to include the dockerhost IP-addres plus port and " --api-cors-header=http://localhost:8880" to allow access from my container.
All this works fine, as long as I issue GET requests. But with POST and DELETE requests, I get CORS related errors.
My question is, is this technique (access docker API from a container) implemented for POST and DELETE requests?
Is it possible to include more than one host or port in the --api-cors-header option (not using *)?