Comments (5)
Another small detail, rather than randomly picking a port with a PRNG, it can let Docker do it for you (which means there is no risk of collisions).
from dockertest.
Hey looks cool! I like your idea of using docker compose to set up the environment. Really merges "production" and "testing" stages.
How do you get a container instance? Didn't find it in the tests / docs. Also would go-compose work with go-dockerclient as suggested in #11 ?
from dockertest.
The Compose type has a Containers map in it, keys are container names, and
values are the corresponding container instances.
IIUC go-dockerclient doesn't support docker compose, which is why I didn't
use it :)
On Mon, Mar 14, 2016 at 2:38 PM, Aeneas [email protected] wrote:
Hey looks cool! I like your idea of using docker compose to set up the
environment. Really merges "production" and "testing" stages.How do you get a container instance
https://godoc.org/github.com/ibrt/go-compose/compose#Container? Didn't
find it in the tests / docs. Also would go-compose work with
go-dockerclient as suggested in #11
#11 ?—
Reply to this email directly or view it on GitHub
#35 (comment).
from dockertest.
@sbani will take a look at this :)
from dockertest.
this will work with #46
from dockertest.
Related Issues (20)
- Kafka example doesn't work HOT 4
- Containers exit with exit code 137 HOT 2
- First example test does not fail if Docker is not running
- Add ability to set custom User-Agent (or append to default) HOT 1
- How can I update pool.Client.Endpoint? HOT 1
- Set container IP address in network HOT 1
- Cannot find /var/run/docker.sock on Mac/Windows HOT 4
- How I can purge the resource after failure?
- cannot build on arch: mips64
- Compile error in oras-go dependency
- volumes not working with Podman HOT 1
- dockertest.Resource.Exec fails with "Unrecognized input header: 100" HOT 1
- Mount equivalent for `--volume /var` succeeds on Docker-CE/Linux, but fails on Docker Desktop for WSL2
- github.com/imdario/mergo module renamed to dario.cat/mergo
- Create an example for starting mongodb as a replica set HOT 3
- Error from docker.NewAuthConfigurationsFromDockerCfg() when auths is empty HOT 1
- Create an example for DynamoDB
- Failure to Validate Error for Violated Foreign Key Constraints
- Add support for docker-compose
- dynamic port binding with ExposedPorts option stopped working HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockertest.