Is there any way to get the container name inside a container?

后端 未结 0 906
星月不相逢
星月不相逢 2020-12-17 06:13

Is there any way of getting the container name inside the container in a java programm using processBuilder ?

Example: the command docker run -it --name AppCont

相关标签:
回答
  • 消灭零回复
提交回复
热议问题