我正试图通过远程api调用docker命令.
Docker远程api似乎没有’Detached mode’选项.
http://docs.docker.io/en/latest/commandline/command/run/
我可以在bash中使用这个应用程序,我想通过远程api使用它.
https://github.com/grigio/docker-stringer
最佳答案
实际上,远程API没有“分离”模式,因为“附加”模式是一个额外的端点.
@H_403_18@如果要使用远程API在分离模式下运行,只需创建并启动容器而不附加到它.