docker: try to transmit exit code correctly

That doesn't work. docker doesn't transmit it.
docker: don't mangle completion when docker is not running