Node Agent: Core Docker operations #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement the core /containers endpoints for the node agent service running on each node.
Tasks
GET /containers- list all containers (name, image, status, state)POST /containers/{id}/start- start a containerPOST /containers/{id}/stop- stop a containerPOST /containers/{id}/restart- restart a containerGET /containers/{id}/logs?tail=200- fetch last N log linesPOST /containers/{id}/pull- pull latest image and recreateGET /health- health endpoint returning node infoNotes