mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 13:41:36 +00:00
@@ -328,6 +328,8 @@ func createRouter(s *Server) *mux.Router {
|
||||
"/containers/{name:.*}/attach/ws": s.wsContainersAttach,
|
||||
"/exec/{id:.*}/json": s.getExecByID,
|
||||
"/containers/{name:.*}/archive": s.getContainersArchive,
|
||||
"/volumes": s.getVolumesList,
|
||||
"/volumes/{name:.*}": s.getVolumeByName,
|
||||
},
|
||||
"POST": {
|
||||
"/auth": s.postAuth,
|
||||
@@ -352,6 +354,7 @@ func createRouter(s *Server) *mux.Router {
|
||||
"/exec/{name:.*}/start": s.postContainerExecStart,
|
||||
"/exec/{name:.*}/resize": s.postContainerExecResize,
|
||||
"/containers/{name:.*}/rename": s.postContainerRename,
|
||||
"/volumes": s.postVolumesCreate,
|
||||
},
|
||||
"PUT": {
|
||||
"/containers/{name:.*}/archive": s.putContainersArchive,
|
||||
@@ -359,6 +362,7 @@ func createRouter(s *Server) *mux.Router {
|
||||
"DELETE": {
|
||||
"/containers/{name:.*}": s.deleteContainers,
|
||||
"/images/{name:.*}": s.deleteImages,
|
||||
"/volumes/{name:.*}": s.deleteVolumes,
|
||||
},
|
||||
"OPTIONS": {
|
||||
"": s.optionsHandler,
|
||||
|
||||
Reference in New Issue
Block a user