Creating a docker container and corresponding python application in travis

Hey folks. So I have a very specific task in mind and wanted to see whether Travis can handle it.

In my application, I need to build a docker container, and then also install a python module that will refer to that container. So to build the docker container seems easy enough–I can use that services -docker option in the travis.yml file. But then can I install a python module that will access the installed docker container?

I know it is like installing a container within a container–since travis is already containerized. Just wanted to check if there are any issues doing something like this, before spinning my wheels :).

Thanks.

Not getting what you’re trying to do. You can access servers running in a container via published ports like a remote machine, or you can run a command within a container and communicate with other processes via streams. You can also pass data via container mounts.