Allow inspection of containers and all_containers variables
This commit is contained in:
@ -13,5 +13,13 @@ module Admin
|
||||
format.json { render(json: dashboard_data) }
|
||||
end
|
||||
end
|
||||
|
||||
def dump_docker
|
||||
authorize(self)
|
||||
respond_to do |format|
|
||||
format.html { render(json: DockerContainerPool.dump_info) }
|
||||
format.json { render(json: DockerContainerPool.dump_info) }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user