A docker-compose adapter for the EPM to support docker as a virtualization technology.
100K+
Copyright © 2017-2019 ElasTest. Licensed under Apache 2.0 License.
The docker-compose adapter compliant to the EPM is used to launch docker-compose instances. The docker-compose file is passed along with an additional Metadata file in a package.
Dockerfile linksWhere to get help:
the ElastTest mailing list, the Elastest Slack, or Stack Overflow
Where to file issues:
Issues and bug reports should be posted to the GitHub ElasTest Bugtracker.
Maintained by:
the ElasTest community
Published image artifact details: (image metadata, transfer size, etc).
Source of this description:
docs repo's template/ directory (history)
Supported Docker versions:
the latest release (down to 17.03.1 on a best-effort basis)
The adapter is implemented using python2.7 and the docker-compose, Docker and gRPC libraries.
To start the adapter in a docker container run this command:
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 50051:50051 --expose 50051 -i -t epm-adapter-docker-compose
If you want to start both the Elastest Platform Manager and the Docker-Compose client you can use the docker-compose file below:
version: '3'
services:
elastest-platform-manager:
container_name: elastest-epm
image: elastest/epm
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
expose:
- 8180
ports:
- 8180:8180
networks:
- elastest
epm-adapter-docker-compose:
container_name: elastest-epm-adapter-docker-compose
image: elastest/epm-adapter-docker-compose
entrypoint: python run.py --register-pop
depends_on:
- elastest-platform-manager
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
expose:
- 50051
ports:
- 50051:50051
networks:
- elastest
networks:
elastest:
driver: bridge
This will create the docker container for both the adapter and the EPM and will also automatically register the adapter to the EPM, so you can start using them straight away.
The package has to be a tar file and has to have the following structure:
- Metadata.yaml #Simple metadata file that should include the name of the package
- docker-compose.yml #The docker-compose file
This is an example Metadata file:
name: example-name
none
none
Content type
Image
Digest
Size
445.9 MB
Last updated
over 5 years ago
docker pull elastest/epm-adapter-docker-compose:20210226