I have activated my Docker Engine V1.41 REST API in docker with this artcile: https://blog.usejournal.com/how-to-enable-docker-remote-api-on-docker-host-7b73bd3278c6
After that in my browser it works fine like http://localhost:port/container/list will show me all lists of my containers in json.
But now, when I try to reach the API with axios in react I get an CORS error:
So I think I have to setup cors for docker?
I found a bunch of articles about how to enable CORS for a docker image / container but nothing about enabling it for the docker agent / host itself.
Know someone who can answer?