diff options
author | Jonathan Holloway <jholloway@redhat.com> | 2017-06-15 00:15:34 -0500 |
---|---|---|
committer | Jonathan Holloway <jholloway@redhat.com> | 2017-06-22 15:25:04 +0000 |
commit | c378972b48988d09b33d4b8e3881ecd560f0e343 (patch) | |
tree | b99f6905ebc603317fadcd62cbef6b1646748dcd /docker/README | |
parent | 14de79b69b466663fb72dd04d4a20b8a606e826d (diff) |
add docker dir with Dockerfile and README
* Dockerfile for creating a glusto-tests container.
* README with some basic information for now.
Change-Id: I10d467371b430489a240e979ebc3893f7cc578dd
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
Diffstat (limited to 'docker/README')
-rw-r--r-- | docker/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docker/README b/docker/README new file mode 100644 index 000000000..d9a985165 --- /dev/null +++ b/docker/README @@ -0,0 +1,26 @@ +This Dockerfile adds the Gluster glustolibs libraries on top of the Glusto container to provide the complete environment required to run Gluster QE tests under Glusto. +This container is currently based on Fedora and also installs gdeploy as required by NFS Ganesha tests. + +This is currently a minimal implementation. More to come. + +To use the glusto-tests container, you can run tests using the pre-gen'd container or create a Dockerfile and customize to fit your own needs. + +To use the pre-gen'd image... + +1. Pull the docker image down to your local system. + + # docker pull loadtheaccumulator/glusto-tests + +2. Run the image with docker. + + # docker run -it --rm --privileged=true -v <local_dir_path>:<container_dir_path> docker.io/loadtheaccumulator/glusto-tests /bin/bash + + ... or for example to run a test directly... + + # docker run -it --rm --privileged=true \ + -v <local_dir_path>:<container_dir_path> \ + docker.io/loadtheaccumulator/glusto-tests \ + /usr/bin/glusto -c <container_path_to_config> \ + --pytest="-vv <container_dir_path>/test_your_test_file.py" + +More robust docs and examples coming soon. |