The browser will send requests to the Docks API running on a swarm manager. Once authenticated the docks API will forward Docker requests to the Docker API running on localhost. The response from Docker will then be sent back as a response to the client.
Later it will be required to authenticate before forwarding anything to the Docker API.
[x] Send requests to Docker API as a client using the Docker Socket
[x] Forward requests to Docker API
[x] Return response from Docker API
By forwarding requests based on the Docker API we already have a standard interface to base the UI on. For example all requests to /docker/<path> will be forwarded to /<path> on the Docker socket.
The browser will send requests to the Docks API running on a swarm manager. Once authenticated the docks API will forward Docker requests to the Docker API running on localhost. The response from Docker will then be sent back as a response to the client.
Later it will be required to authenticate before forwarding anything to the Docker API.
By forwarding requests based on the Docker API we already have a standard interface to base the UI on. For example all requests to
/docker/<path>
will be forwarded to/<path>
on the Docker socket.