How to get running container instance information #57
Unanswered
nilskretschmer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
is it possible to "re-attach" to the running container later? So for example I start a container using:
$containerInstance = DockerContainer::create($imageName)->start();
I would save the ID of the container using:
$containerInstance->getDockerIdentifier()
In the database. After some time (in other parts in the application, different time) I would like to check on the container. Like
Is it possible to "re-create" the container instance from the identifier to get the information?
Beta Was this translation helpful? Give feedback.
All reactions