replace ps with docker inspect for better compatibility. closes #3 and #5