That will spin up the grid, when docker finish preparing your grid you should go to http://localhost:4444/grid/console just to verify that everything is ok.
And then just run a simple test against this grid.
For doing this you should create a new selenium driver pointing to the grid, if you are using python is something like this for chrome :