Derive names from the familiar image name, replacing path separators with dashes. Container names use an increasing prefix of the container ID on retries, while service names use eight random hexadecimal characters. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>