I am not asking this question: See full command of running/stopped container in Docker
What I am asking is, if someone runs a docker container from the host with a command such as:
docker run --lots --of --mysterious --parameters --volumes --etc image-name
Is there some way for someone else to obtain the original command line in the host system that was used to create the container?
My guess is that no, that you would have to reconstruct it manually by putting together all information obtained from docker inspect
... but I may be wrong.
Edit
It seems there is no way to get this information from docker itself, but as explained in the comments below, you can always type history | grep "docker run"
and search for the one that launched the container.