Run image
Hi, When I run dolphin in a container (redbird) can I run an image (start a new container) with it? I can't see it in the help or code.
Kind regards,
Kasper Veenvliet
If dolphin and the container are configured properly you can do everything that you could do if you were on the docker host.
oh well, I just realized that the container.run command is not implemented. Should be pretty straightforward to do it though.
you can get some inspiration from this: https://github.com/OptimalBits/dolphin/blob/master/lib/images.js#L24
That looks pretty straightforward! Do I set it up to use the docker.sock? How?
It is explained on the README
sorry I see a piece of information is missing, you need to "share" the socket with the container, for example like this:
docker run\
--restart always\
--name mycontainer\
-v /var/run/docker.sock:/var/run/docker.sock\
-d -t myimage
mycommand