Commit 687b119a authored by odlai's avatar odlai

no message

parent dd311f2e
......@@ -38,9 +38,8 @@ class DockerController extends Controller
$query = Path::all();
$main=Car::all();
$client = new \GuzzleHttp\Client();
$res = $client->get($this->docker_ip."/images/json?all=1");
$res = $client->get($this->docker_ip."/containers/json?all=1");
$response = json_decode($res->getBody()->__toString(), true);
dd($response);
return View('docker.admin_service',['result'=>$query,'iresult'=>$main,'contents'=>$response]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment