Closed charandas closed 7 years ago
This is with local-compose.yml, which I am pretty sure is spawning job containers in Triton.
I am also not sure why I am having rogue containers leftover from the build (named like build_62b5c066-f633-4a6f-9547-ae00beb44cff
), curious as to what might be going wrong with garbage collection?
@charandas the error you're getting from sdc-docker is not uncommon:
Error: image ac9b3ba3ffe0ca43e197dd3439125dce5b70fb2633c14b2fe420a4b8154687bb:latest not found (62b5c066-f633-4a6f-9547-ae00beb44cff)
We designed Docker support on Triton to provide the best place to run Docker containers, and that remains our priority with sdc-docker
.
Our recommended solution is to build Docker images using Docker Inc's Docker daemon on KVM instances. We'll have a clear blueprint for that soon.
Thanks @misterbisson.
Per @tgross 's comment here, I am trying to build and deploy a test container in Triton.
I am not fully aware of the docker setup at the end of provisioning the Jenkins container, but I will look further into this today. It looks like I wanna build against local docker daemon and deploy with Triton.
Jenkins configuration does show the Triton DC's under docker plugin. I wonder if there is the local daemon under it, or if Jenkins allows me to reference a selected profile for any docker command.
@charandas Since you're focused on Triton, I should tell you that the Joyent support team will be able to give you much more targeted advice.
However, to try to point you in a useful direction, especially if your intentions are simply to get any test container running on Triton, I should also point out the following:
Thank you. Actually, @misterbisson I wanted to ask if native macOS docker is discouraged, and docker-machine preferred over it. If so, why is that?
I am using Jenkins on Triton using this repo. But I am really new to sdc-docker and its not building for me within the context of a Jenkins job. More details below:
I am using my private registry with a docker-compose.yml like so:
The message above doesn't make much sense to me at all. When I login into the CLI: I can use
sdc-docker
successfully.I am curious as to why the difference between Jenkins and CLI run.