I use the following command to start a docker container from an image:
$ docker run -d myimage /bin/bash -c "mycommand"
The container is stopped (I assume it is stopped) after "mycommand" is finished, but it is not removed, because I can see it with this command:
$ docker ps -a
Is there a way to restart this container with the same parameters and maintain the data that mycommand generated?