How to enable docker remote API on docker host?

https://blog.usejournal.com/how-to-enable-docker-remote-api-on-docker-host-7b73bd3278c6