Add -e and -p options to docker replace