Closed cmosetick closed 9 years ago
@cmosetick this is a great bug report. Thank you!
Are you able to try your scenario again with Compose 1.2? https://github.com/docker/compose/releases/tag/1.2.0
Based on this and some other feedback we've updated our documentation:
Note: Triton is not compatible with the newly released Docker 1.7 or Docker Compose 1.3. Please use Docker 1.6 and Docker Compose 1.2 when interacting with Triton. https://docs.joyent.com/public-cloud/api-access/docker
We hope to get to a point where we have a live status page showing readiness of triton as each client and api is released.
@lloydde Your welcome! I will give Compose 1.2 a try when I have a moment and report back here.
@cmosetick any success with compose 1.2?
Also, us-east-3b (our Beta datacenter which is updated more frequently) does support docker-compose 1.3, if you want to use that:
export DOCKER_HOST=tcp://us-east-3b.docker.joyent.com:2376
@lloydde Yes, I had success with compose 1.2. It worked great for me.
@twhiteman Thanks for the info on the us-east-3b data center!
I'll close this issue, thanks for your help and suggestions.
The Triton FAQ states that
docker-compose
functionality is a work in progress. I thought I would create an issue here to track the status, in case anyone wants to hack on this with me.Here is what I currently get when pointed to SDC from Mac OS X 10.10 with docker-compose v1.3.1.
The basic WordPress, hello-world example as the compose file:
And here is the output I get when pointed to SDC / Triton container service:
You can see that the mariadb container gets created, and stays up, but the WordPress container is not running, nor even created.
When I run the same WordPress example on a standard Ubuntu 14.04 system with Docker daemon running, both containers are running, and linked properly.
This appears to be a problem with linking containers via
docker-compose
in SDC. I'm guessing that there is no issue with linking containers viadocker run
.