Open amro-albaali-vention opened 1 year ago
I couldn't get it to work either, as you can see in https://github.com/AgustinCB/docker-api/blob/master/src/types/container.ts currently there doesn't seem to be a tag option but a ImageID option I don't know what it does currently I find this project very interesting maybe i will try and fix that.
I found a possible workaround, didn't test it though https://github.com/AgustinCB/docker-api/blob/master/examples/pull_and_check_image.js you would need to try it to be sure. Would be better if you could do it directly.
Is it possible to create a Docker container using a specific Docker image tag?
That is, given a Docker image
MyImage
with multiple tagsTag1
,Tag2
, etc. How can I runI noticed there isn't a
Tag
key to pass tocreate
. Furthermore, I tried usingMyImage:Tag1
for theImage
field, but that didn't seem to work.Is there a work around for this issue?