Simplify docker inspect command

Use the -f switch to extract the IP address from inspect instead of a pipeline.