我需要通过Jenkins运行docker容器。为此,我使用了"启动/停止Docker容器"作为构建步骤。
启动/停止Docker容器
启动/停止Docker容器
Action to choose : Run container
Docker Cloud name : docker_demo
ID : DOCKER_IMAGE_ID
DNS
Port bindings :port
Bind all declared ports :
Hostname : ip address
在运行作业时,提示“无效的ID”。有人能建议一下,在Jenkins中如何获取Docker镜像ID吗?
ubuntu:latest
这样的镜像名称吗? - Kevin Simper