Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Testing in Docker #2

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@dwmkerr
Copy link
Owner

commented Nov 3, 2016

I am aiming for a process where I can do this:

docker save dwmkerr/dynamodb | docker run --privileged  -t docker-dynamodb-tests

With the docker-dynamodb-tests Dockerfile (./test/Dockerfile) simply creating a container from the image for the tests to run against.

So far struggling to get the stdin/stdout transport. I could write the image to a file on the host and mount the data into the test container, but would prefer to avoid creating files if necessary...

If we can get this working, we can remove a lot of the container cleanup code and avoid messing with the host machine.

A useful reference is:

https://www.jamescoyle.net/how-to/1512-export-and-import-a-docker-image-between-nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.