6
"github.com/gorilla/mux"
9
func containerGet(d *Daemon, r *http.Request) Response {
10
name := mux.Vars(r)["name"]
11
c, err := containerLoadByName(d, name)
13
return SmartError(err)
16
state, err := c.Render()
18
return InternalError(err)
21
return SyncResponse(true, state)